View previous topic :: View next topic |
Author |
Message |
Ajaxelectronic
Joined: 22 Nov 2009 Posts: 171 Location: Iran
|
Posted: Mon Oct 03, 2016 9:49 pm Post subject: create difference serial number in flash? |
|
|
Hi
i want to create difference serial number in flash memory of AVRs with manipulate HEX code only.
my idea is : when we have program Flash memory we can see flash memory buffer table in the Bascom programmer window. now, we can insert our favorite serial number in the empty cell of buffer and program our chip. our serial number there is in the AVR flash memory now.
question! How we can check value of cell of buffer from our Bascom program?
(BASCOM-AVR version : 2.0.7.8 ) _________________ www.mrkelectronic.blogfa.com
Best Regards |
|
Back to top |
|
|
Evert :-)
Joined: 18 Feb 2005 Posts: 2156
|
|
Back to top |
|
|
Ajaxelectronic
Joined: 22 Nov 2009 Posts: 171 Location: Iran
|
|
Back to top |
|
|
Ajaxelectronic
Joined: 22 Nov 2009 Posts: 171 Location: Iran
|
Posted: Tue Oct 04, 2016 7:38 pm Post subject: |
|
|
Sorry for my late reply.
i test Cpeekh() and it work (my uC is ATMega1280 so Cpeekh() is better for me). but there is a little notice.
i try read from &H004A4 , but Cpeekh() read value of &H004A5 same as below image. why? _________________ www.mrkelectronic.blogfa.com
Best Regards |
|
Back to top |
|
|
JamesAus
Joined: 08 Aug 2007 Posts: 50 Location: Australia
|
Posted: Fri Oct 07, 2016 1:10 pm Post subject: |
|
|
The way I read your initial post is as if you wish to create an individual serial number and insert into flash at time of programming. If this is correct the most efficient means I have found for this is using the AVRISP-U programmer and supplied software from Kanda. It can also automatically increment the serial number for each device programmed.
I know this reply isn't technically Bascom related, but the above mentioned device has bean a means to an end for me with what I believe is a similar scenario.
Cheers
James |
|
Back to top |
|
|
Ajaxelectronic
Joined: 22 Nov 2009 Posts: 171 Location: Iran
|
Posted: Fri Oct 07, 2016 6:55 pm Post subject: |
|
|
Hi JamesAus
yes. i want to do it. thanks for your suggestion. _________________ www.mrkelectronic.blogfa.com
Best Regards |
|
Back to top |
|
|
|