Posted on May 17, 2011 at 11:32I will have to concur with this warning. I wish I had found it at the beginning of the day rather waste all day trying to figure out why R12 was getting corrupted. I also noticed that the ST example code is all over th...
Posted on May 17, 2011 at 09:58I believe that printf etc are not thread safe by default. If you are using IAR, you need to recompile DLIB with locks. Otherwise, it sounds like you might have a local stack pointer that is being accessed outside of th...
Posted on May 17, 2011 at 09:58Chances are, you have a bug in your code that puts the processor in a corrupted state and the JTAG flash bootloader won't work anymore. You need to do a full chip erase. Download the free JFLASH tools from segger.com, ...
Posted on May 17, 2011 at 09:58Edit 91x_map.h and change the register definition for ''DDR'' to be 32 bit (see snippet), not 16 bit. I had a confirmed silicon bug regarding this from ST Micro (not in the errata) that would crash my program under wei...
Posted on May 17, 2011 at 09:57You can't issue BANK1 commands (ie read OTP) while running your code from BANK1. You need to run from BANK0 or RAM. You can use the ''__ramfunc'' in IAR to put your function in RAM. The 91x_fmi.c example toy code (not ...