[mC for dsPIC V4.0] ROM problems with dsPIC30F6014A

Discuss about beta versions of mikroC compiler.
Post Reply
Author
Message
bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

[mC for dsPIC V4.0] ROM problems with dsPIC30F6014A

#1 Post by bruno » 07 Nov 2008 00:49

Hi,

I had problems with char tables in ROM : read gave unpredictable results.

I suspect a linker problem, since reducing available ROM memory to 32K solved the problem :

Code: Select all

//MEMORY PAGES
//#pragma	SetRomSize(98046);
//#pragma	SetPage(PAGE0,0x0100,0x17FFE);
#pragma	SetRomSize(32766);
#pragma	SetPage(PAGE0,0x0100,0x07FFE);
:twisted: I want my ROM back :twisted:

edit :
just found this : http://www.mikroe.com/forum/viewtopic.php?t=8136
seems to be connected !!!???
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

Post Reply

Return to “mikroC Beta testing”