Hi Dave,
Thanks for your reply.
Right now I am trying to save data of very few bytes (3 to 4 bytes), which
is exactly same as mentioned in samples of Dynamic C 10.62 for User Block
Read/Write code. Interestingly, I can write and read the data from user
block at very start of my code, bu ast I am working on a program which saves
intermediate amount of data in memory and I need to save data in flash, so
when I call those functions inside my code, my debugger gets stuck, I would
have to recompile my code to start debugging.
On 10 May 2010 21:52, Dave McLaughlin wrote:
> Hi Waleed,
>
> I use the User Block to save configuration data and using the RCM5450W.
> Although not the same, it should be similar to the RCM5600W code wise.
>
> Could you share the code you are using to write the block?
>
> How big is the block you are writing?
>
> Dave...
>
> ---
> Very funny Scotty, now beam down my clothes!!!
> ---
> http://www.embeddedcomputer.co.uk
> ---
>
> *From:* r... [mailto:r...] *On
> Behalf Of *Waleed Farrukh
> *Sent:* 10 May 2010 18:00
>
> *To:* r...
> *Subject:* [rabbit-semi] Writing in User Block of Flash
>
> Hello All
>
> I am using RCM5600W module, and want to write on User block of flash. I can
> write to the flash from the sample programs of Dynamic C 10.62, but when I
> try to write in flash using the writeUserBlock() function in my own
program,
> my program stops, and debug window gets stuck. Is it due to the fact that
my
> program somehow utilize User Block of Flash memory? Kindly guide me how can
> I write to flash inside my code. Thanks
> --
> ------------
> Regards
> Waleed Farrukh
>
>
>
--
------------
Regards
Waleed Farrukh