Other Parts Discussed in Thread: HALCOGEN
I have a TMS570LS1224 (PGE) and I have a problem reading value after reset. The idea was to store a 4 digit integer value (between 0 and 9999 in my case around 1200) into the flash. FEE function writes the value every time on other location in the bank 7. When I want to read the value it works fine but after reset it forgets where to read and gives me a wrong value (but every time the same number). Then after first write is done it reads again the right value.
so I need a little help how to make the mcu read on the right location after reset?
Or other alternative: can I somehow write (with F021 Flash API functions) always to the same location and read from the same location. For example I want to use the Bank 7 address 0xF0200000 (to 0xF0200003 - 4 digit number) and after reset it should read from that location.
Thanks for your help
functions:
Regards, Mihael