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

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Flash Driver


Advertise Here

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

Flash Driver - montserret_maxime - Jan 3 12:42:00 2006

Hi everybody,

I'm trying to use HIS Flash Driver for HCS12 developed by Motorola.
I'm using example with codewarrior compiler and MC9S12DG256BCPV
microcontroler
I put the flash driver binary in flash memory (at adress C12E) in
.rodata section.
FLASH_DRIVER_INTERFACE and FLASH_DRIVER_MCUTYPE are working but when I
execute FLASH_DRIVER_INIT function, the program crashes.

Do you know where is the problem ???

Must I execute flash driver in RAM memory ???
Must I copy flash driver binary in RAM memory at startup ???

Many thanks in advance for your help .


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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


Re: Flash Driver - montserret_maxime - Jan 4 5:20:00 2006

Hi,

I've tried to put Flash Driver binary at address 0x3000 like demo but
the program crashes also.
Could you help me please.
Thanks in advance.
--- In 68HC12@68HC..., "montserret_maxime"
<montserret_maxime@y...> wrote:
>
> Hi everybody,
>
> I'm trying to use HIS Flash Driver for HCS12 developed by Motorola.
> I'm using example with codewarrior compiler and MC9S12DG256BCPV
> microcontroler
> I put the flash driver binary in flash memory (at adress C12E) in
> .rodata section.
> FLASH_DRIVER_INTERFACE and FLASH_DRIVER_MCUTYPE are working but when I
> execute FLASH_DRIVER_INIT function, the program crashes.
>
> Do you know where is the problem ???
>
> Must I execute flash driver in RAM memory ???
> Must I copy flash driver binary in RAM memory at startup ???
>
> Many thanks in advance for your help .




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