This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

4 kB eval version problem with si1010

Hi,
I had work with 2kB eval version of Keil with si1010 chip and I got flash erase/write/read working.
after I updated to 4k eval version of Keil, it can compile correctly but flash is all mess up.
problem 1: when load with 4kB compiled program, it write something into the flash section of chip(addr 0x200).
problem 2: it can read flash fine, but after perform flash erase or write, the program would crash and have to reload.
any idea what's the fix to these problems?

Thanks,
Zhi

  • I do not know which "4 kB eval version" you speak about, but guess you refer to the one that comes with SILabs devkits.

    The 'general' Keil eval links at 0x2000, the "SILabs special" somewhere else. If you do your "flash erase/write/read" by absolute addresses, you are hosed.

    Erik

  • Thanks for reply Erik,
    yes, it appears part of the code is written into the flash area when I updated to the 4 kB version. So, when I erase/write those address it cause the malfunction.
    problem solved by replacing my flash pointer from 0x200 to 0x1600.

    Thanks,
    Zhi