PIC32MZ - not enough ROM space

General discussion on mikroBasic PRO for PIC32.
Post Reply
Author
Message
ilferrari
Posts: 195
Joined: 18 Nov 2013 09:09

PIC32MZ - not enough ROM space

#1 Post by ilferrari » 28 Sep 2016 12:44

I have an MB project for P32MZ2048ECM064. The project uses 6.2% of ROM (129,995 bytes). If I add a few bytes of code, the compiler errors at "main: org 0x9D000100":

39 342 There is not enough ROM space
39 361 Bad function absolute address 'main[2634023168]'

Why is this? EBASE was set at 0x9D001000. I need to fix EBASE and main somewhere - what is your recommendation?

User avatar
uros.cvetinovic
mikroElektronika team
Posts: 803
Joined: 14 Dec 2015 09:24

Re: PIC32MZ - not enough ROM space

#2 Post by uros.cvetinovic » 29 Sep 2016 15:10

Hi,

I have tried to reproduce this behavior with the project that uses 599,226 bytes (29%) of ROM, but I didn't get any error for ROM usage.

It compiled without any problem with main: org 0x9D000100

Would you be able to zip and send the project that can reproduce this?

You can submit a ticket on our helpdesk if you don't want to post it here.
http://helpdesk.mikroe.com/

Best regards,

Uros

ilferrari
Posts: 195
Joined: 18 Nov 2013 09:09

Re: PIC32MZ - not enough ROM space

#3 Post by ilferrari » 05 Oct 2016 14:01

Hi Uros, I cannot send out this project. I moved main to 0x9D002000 and it works now.

User avatar
uros.cvetinovic
mikroElektronika team
Posts: 803
Joined: 14 Dec 2015 09:24

Re: PIC32MZ - not enough ROM space

#4 Post by uros.cvetinovic » 06 Oct 2016 09:26

Hi,

Do you have any other project that reproduces this behavior, and that you can post?

Also, if you don't want to post it here, you can submit a ticket on our helpdesk, and send it there.

Best regards,

Uros

Post Reply

Return to “mikroBasic PRO for PIC32 General”