Problem with programming EEPROM in addresses higher than 0x10000

5 posts / 0 new
Last post
gcblair
Offline
Last seen:4 years 7 months ago
Master
加入:2014-09-08 10:21
Problem with programming EEPROM in addresses higher than 0x10000

Hi,

I built a secondary bootloader with my image using mkimage. This gives me a binary output and works well

However I notice that when I program the image into my i2C EEPROM, anything above 0x10000 is not programmed (for example, the product header).

If I try to burn anything in an address above 0x10000, it tells me it succeeded, but when I read it back it is all 0xFF. Data in earlier addresses seem to be fine and I can boot from the EEPROM using one image.
The EEPROM I am using is this one:http://www.st.com/st-web-ui/static/active/en/resource/technical/document...

Is there a reason why I can't program at these addresses? I did have to modify jtag_programmer.bin to make the EEPROM work with the pins I am using, but maybe I need to change other parameters?

Device:
gcblair
Offline
Last seen:4 years 7 months ago
Master
加入:2014-09-08 10:21
Hi,

Hi,

Just to add to this, I tried taking the periph_example code and I managed to read and write to the address 0x10000 successfully. It seems that it must be a problem with smart snippets.

gcblair
Offline
Last seen:4 years 7 months ago
Master
加入:2014-09-08 10:21
Another update: I can program

Another update: I can program the correct addresses with UART in smart snippets, its just with JTAG that it doesn't work

gcblair
Offline
Last seen:4 years 7 months ago
Master
加入:2014-09-08 10:21
没有人可以帮我做这个吗?

没有人可以帮我做这个吗?

JE_Dialog
Offline
Last seen:1 hour 19 min ago
圣aff
加入:2013-12-05 14:02
sorry for delay , i will

sorry for delay , i will assign this to Robert to help you. BR JE_Dialog