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 .
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(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 )