Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
|
I'm new in HCS12 programming and doing some tests with M68KIT912DP256 evaluation
board and CodeWarrior Processor Expert. All was correct until I tried to access flash
using CodeWarrior Bean "Internal Flash" (Bean IFsh1:IntFLASH was added to
project). When I try to read some data from 0x388000 (Flash1, Page 0x38) calling
IFsh1_GetPage(0x388000) I got the data from Page 0x30 from where program is running. If I
trace into the process (with True-Time Simulator & Real-Time Debugger and P&E BDM
Multilink) when IFsh1_GetPage calls SelectBank(dword Addr) PPAGE is changed to 0x38 and
program hangs due 0xFFFF execution in erased flash. Where is my mistake ? (Final application could require flash storing and retrieving of a big amount of data) Jordi Costa [Non-text portions of this message have been removed] |