"The Contents of HEX file exceed the EXEC size"

General discussion on mikroPascal for dsPIC30/33 and PIC24.
Post Reply
Author
Message
JimKueneman
Posts: 417
Joined: 10 Jan 2009 22:03

"The Contents of HEX file exceed the EXEC size"

#1 Post by JimKueneman » 13 Nov 2009 04:33

Vista and LV24-33A

PIC33FJ128MC708

I get this error then "Programming Failed". I can

- Read
- Write
- Verify
- Erase
- Blank
- Reset

all successfully.

I have set the project option to default for this device and this is the program:

Code: Select all

program MyUART;

begin

end.
What is wrong? Why can't I program this part?

Thanks,
Jim

User avatar
anikolic
mikroElektronika team
Posts: 1775
Joined: 17 Aug 2009 16:51
Location: Belgrade
Contact:

#2 Post by anikolic » 13 Nov 2009 14:39

Hi,
This "The Contents of HEX file exceed the EXEC size" message is a known bug in LvPICFlash and which will be corrected in the new release. I have tested programming the PIC33FJ128MC708 chip with the code you have posted here, and I was getting no such error you have described.

If you want, you can open the support ticket at http://www.mikroe.com/en/support/ and attach the zip file with your entire project including your original HEX file, and we will analyze it and try recreating the problem.

Best regards,
Aleksandar
Web Department Manager

JimKueneman
Posts: 417
Joined: 10 Jan 2009 22:03

#3 Post by JimKueneman » 13 Nov 2009 17:36

I installed the programmer and drivers packed with the 6.0.0 compiler and it did not throw this error. Just reinstalled the latest for the LV24-33A board and the error returned. Actually there are two.

One is the EXEC size the other is The contents of HEX file exceeds the Config. size. I have posted the example to a ticket.

And a plea for help to get this dsPIC programmed.

Jim

JimKueneman
Posts: 417
Joined: 10 Jan 2009 22:03

#4 Post by JimKueneman » 15 Nov 2009 00:02

Solved. After reading the ICSP documentation it was clear that the cap for the regulator pin (Vcap) needs to be a very good cap. I added a couple 1u ceramic caps around the 10u that was there and all is good.

Jim

BTW:

I did not pick out the parts for this board. :^)

JimKueneman
Posts: 417
Joined: 10 Jan 2009 22:03

#5 Post by JimKueneman » 15 Nov 2009 00:37

Sorry, Solved to wrong thread.

Post Reply

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