Hello,
I'm running a function for erase, reading data from serial interface and flashing them in RAM. (typical bootloader application)
I erase the first three flash blocks (Device is a 9S12XDT512) and from the last block only the needed sectors. (works fine)
I can also read the data from the serial interface and write it to one of the first three blocks, but when i try to write them to the last block. I get an Illegal Address Reset and don't know why.
I have all Interrupts and the Watchdog disabled.
I use global addressing to access the Flash memory.
Are there some useful tricks find out why this resets occur?
Besides the last block where the problems occur is also the block with the reset vector table and the unpaged flash is mapped to.
thanks
Matthias
--
Alban Edit: Please always include FSL Part Number in Message Subject line.
Message Edited by Alban on 2007-09-06 11:23 AM