cancel
Showing results for 
Search instead for 
Did you mean: 

FLASH problem

amoreno
Associate II
Posted on April 07, 2008 at 08:29

FLASH problem

1 REPLY 1
amoreno
Associate II
Posted on April 07, 2008 at 08:29

Hi,

I have a problem and I am not being able to solve.

Trying to write and read parameters from the FLASH, it looks works fine if I DEBUG the software (with J-Link)

But if I run the software without JTag debugger, the program “hangs� just when I try to read from flash.

Do you know why?

Here the routine that I use:

#define VERSIONS 0x000C0000

…

EIC_IRQConfig(DISABLE);

FLASH_Init();

FLASH_WritePrConfig (FLASH_B1F0,DISABLE) ;

Versions=FLASH_WordRead(VERSIONS);

EIC_IRQConfig(ENABLE);

I’m using WORKBENCH 5 EVAL and J-Link

Thanks for your helps, I’m in a hurry.

Best regards.

ALFA.