Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

BASCOM 2083 EEPROM Programming fails

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

Bascom Member



Joined: 16 Mar 2006
Posts: 19

germany.gif
PostPosted: Sun Oct 04, 2020 11:34 am    Post subject: BASCOM 2083 EEPROM Programming fails Reply with quote

Hello,
I have now noticed an error when programming the EEPROM with BASCOM 2083:
the programming of the EEPROM is wrong. I use the "MYSMARTUSB LIGHT" programmer.
The programming of EEPROM (Mega8, Mega 644, Mega 1228) works correctly under
BASCOM 8081/8082, but no longer under BASCOM 8083.

Have any of you had similar problems?
Best regards

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

Bascom Member



Joined: 22 Aug 2009
Posts: 2335

blank.gif
PostPosted: Sun Oct 04, 2020 12:49 pm    Post subject: Re: BASCOM 2083 EEPROM Programming fails Reply with quote

From the titel:
Quote:
EEPROM Programming fails
it seemed that any EEPROM programming is not possible.

Carlos wrote:
the programming of the EEPROM is wrong.
sounds in contrary like incorrect values.

What is actually the case?
If it is about incorrect values, why don't you have the minimum courtesy to show the EEPROM data you write, and the data you read with Bascom 2.0.8.3 and 2.0.8.1 or .2.

Quote:
BASCOM 8081/8082, but no longer under BASCOM 8083.
There's no such like Bascom 8081/82/23, there's Bascom 8085 for a different species of controller.

Quote:
Have any of you had similar problems?
We all have some, I can't understand yours.
Back to top
View user's profile
Dibor

Bascom Member



Joined: 04 Dec 2004
Posts: 137
Location: ISRAEL

israel.gif
PostPosted: Sun Oct 04, 2020 2:18 pm    Post subject: Reply with quote

Looks like he is means versions: 2081/2082/2083
Back to top
View user's profile MSN Messenger
Carlos

Bascom Member



Joined: 16 Mar 2006
Posts: 19

germany.gif
PostPosted: Sun Oct 04, 2020 2:24 pm    Post subject: BASCOM 2083 EEPROM Programming fails Reply with quote

Hello,
here is the excerpt of the result after the
EPROM programming from BASCOm 2083:




and here is the excerpt of the result after the
EPROM programming from BASCOm 2082:




the difference is clearly visible.
Flash memory and fuses are ok

best greatings
Back to top
View user's profile
albertsm

Administrator



Joined: 09 Apr 2004
Posts: 6198
Location: Holland

blank.gif
PostPosted: Sun Oct 04, 2020 4:20 pm    Post subject: Reply with quote

i had a look. indeed this is a bug.
the myavr programmer uses the stk500v2 protocol. but they do not proper support the load address function. this will reset the address some how. normally you only load the address when you skip empty blocks. but the myavr programmer seems to use auto increase. so in a previous version where programming was speeded up by skipping empty blocks, this broke the myavr programmer. that was corrected in 2083 but this broke the eeprom programming. so now i made separate code for the stk500 and the myavr.
i will make a patch available later after some more testing.

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

Bascom Member



Joined: 16 Mar 2006
Posts: 19

germany.gif
PostPosted: Sun Oct 04, 2020 4:33 pm    Post subject: Reply with quote

Thanks Mark,
that you looked at this.
it was again a very quick answer from you!
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