This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Flash is not working when program size goes up.

Hi all,

I am working on C8051F350 for a data aq. project. when the code size was small, the flash was working, as it grows up beyong 6.9 k it stopped working and getting hang somewhre. even erasing the flash is not working. some threads i have seen in the same forum but it didnt helps out.

plz see this thread. it didnt help me out.
http://www.keil.com/forum/6131/

i am using the same functions provided by silabs without much of changes.

can anybody tell me what would be the problem as the programs size grows up. i am a novice to microcontrollers and just starting learning.

Plz help me.

Regards

Rijo

Parents
  • Thanks Andy, Finally I got the solution. The onchip memory available is 8 k including flash. if flash is used code size should be small, coz it will take a minimum of 512 bytes. I reduced code size and it works now. I am not sure the way i explained the solution is technically clarified enough, coz i am a novice as i said. but this works.

    Thanks again.

Reply
  • Thanks Andy, Finally I got the solution. The onchip memory available is 8 k including flash. if flash is used code size should be small, coz it will take a minimum of 512 bytes. I reduced code size and it works now. I am not sure the way i explained the solution is technically clarified enough, coz i am a novice as i said. but this works.

    Thanks again.

Children