Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

Discussion Groups | 68HC12 | Flash Bean

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Flash Bean - Jordi Costa - Jun 18 9:42:00 2003

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]




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )