2025-03-24 10:21 AM - last edited on 2025-03-24 10:39 AM by Peter BENSCH
Hello
I want to program the data flash in the SPC560P34L1 microcontroller.
The user's manual says that double-word (64 bits) data page programming is supported, but an errata, DocID024694 Rev 4 (SPC560P34x, SPC560P40x devices errata JTAG_ID=0x2AE2_2041), mentions that it is not working.
I'm trying to use two methods to program: first, with the generated C90 c-arrays from SPC5 Studio (supposedly 1-word page size, micro resets as soon as the FlashInit function is called), and second, by performing the step-by-step register manipulation recommended by the microcontroller user's manual.
Neither of them works.
Does anybody know how to program the data flash in this micro successfully?
Thanks!