DSPRelated.com
Forums

Error when Programming Flash...M29W160EB...???

Started by mall...@yahoo.co.in February 16, 2008
Hi! all

We have our own board of bf532 with M29W160EB flash.I have USB ICE Emulator ..just i want to test the booting...
I have written code for programming Hex file into the flash uisng fileio of c.....
For programming ST has given drivers c1649.c and c1649.h .....
my problem is : After programming 4kbytes programming is failing...............

But when i tested with just example values iam able to program the flash fully....
In both file i have used Same instructions but in the original program i have just added FileIO of C to take the Hex file........

I can't get what's the problem.......Is there any problem with the fileio of c when we are using with visualDSP.......like Buffer size or something because iam not that much into the fileIO of C....
Anybody faced like thid problem help me.........