Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Why the bascom 2.0.8.3 doesn't work with ATMEGA48PB ?

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
kakadupoznan

Bascom Member



Joined: 12 Jun 2021
Posts: 2

PostPosted: Fri Jul 30, 2021 2:21 pm    Post subject: Why the bascom 2.0.8.3 doesn't work with ATMEGA48PB ? Reply with quote

Hello,

I have problem with compile test program for ATMEGA48PB.

If I compile a program for ATMEGA88PB all is OK, but when I compile for ATMEGA48PB then I can't configure PORTE.


If I try config portE, I see error.
It is error 40.

The printscreen is in the attachment.

Maybe does someone know a solution?


Regards
Slawomir

(BASCOM-AVR version : 2083 , Latest : 2.0.8.4 )
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 5921
Location: Holland

blank.gif
PostPosted: Fri Jul 30, 2021 2:47 pm    Post subject: Reply with quote

1 : there is an important rule on this forum ; include some code. And this code should be either posted as is when it is small. Or included as a ZIP file when it is a lot of code.
When you post an image it is ok but only to support what you mean.

anyway i had a look. it appears that the = sign is missing in the dat file.

- open the dat file with notepad (or bascom when you set the option in IDE not the reconfig DAT files)
- search for : DDRE $0D
- insert the = sign : DDRE=$0D
- save

_________________
Mark
Back to top
View user's profile Visit poster's website
kakadupoznan

Bascom Member



Joined: 12 Jun 2021
Posts: 2

PostPosted: Fri Jul 30, 2021 3:56 pm    Post subject: Thanks Reply with quote

It is working.

Thank You. Laughing
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum