Problems when alsmot filling flash memory

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
OT
Posts: 581
Joined: 19 May 2005 05:08
Location: Fairbanks, Alaska

Problems when alsmot filling flash memory

#1 Post by OT » 30 Jul 2017 09:25

In several projects lately I have found that when less than about 10% free of ROM is reported, the program executes erratically - giving nonsense problems. The lower I get the more problems This can for instance to begin with manifest itself that an instruction is not carried out as expected, while even lower free program ROM can cause the code not working at all. Any consensus from ME and other users why this happens? Is reported free ROM inaccurate?
While I am mostly using ver. 6.2.1, I have briefly tested identical code on ver 7.01 in a VM and see exactly the same behavior.
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2

User avatar
dusan.poluga
mikroElektronika team
Posts: 780
Joined: 02 Feb 2017 14:21

Re: Problems when alsmot filling flash memory

#2 Post by dusan.poluga » 01 Aug 2017 18:35

Hi,

Can you provide an example that can reproduce this behavior ?

Best Regards,
Dusan Poluga.

OT
Posts: 581
Joined: 19 May 2005 05:08
Location: Fairbanks, Alaska

Re: Problems when alsmot filling flash memory

#3 Post by OT » 02 Aug 2017 13:04

Unfortunately , by the nature of the problem (filling up program memory), these are big complicated projects that require hardware and/or MCU models usually not supported by your development boards. Thus you would have no easy way to run and test them.
mikropascal dsPIC, Visual TFT, MMBdsPIC v.105, 1.10_9A, mikroProg, "Big"(P30F6012A)EasydsPIC2

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”