PIC24FJ256GA110 writing to flash

General discussion on mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
arco
Posts: 312
Joined: 15 Apr 2008 13:54
Location: The Netherlands

PIC24FJ256GA110 writing to flash

#1 Post by arco » 05 Jun 2017 22:19

I'm trying to write a single 24 bits program word (3 bytes) to flash on a 24FJ256GA110, but I'm not very successful... :(
Flash_Read(Write)_Compact work, but the other functions like Flash_Read(Write)DoubleWord seem te be missing wit the 24FJ...
Is there an example in Mikrobasic writing a singe program memory word?
Regards,

Peter.

User avatar
danilo.milovic
mikroElektronika team
Posts: 501
Joined: 05 Dec 2016 14:59

Re: PIC24FJ256GA110 writing to flash

#2 Post by danilo.milovic » 06 Jun 2017 11:26

Hi,

can you make a simplified example code that isn't working and send it, so I can try to reproduce the issue.

Regards,

Danilo

arco
Posts: 312
Joined: 15 Apr 2008 13:54
Location: The Netherlands

Re: PIC24FJ256GA110 writing to flash

#3 Post by arco » 06 Jun 2017 11:31

I'm just looking for a simple examplecode to read or program a single flash word.
Most Microcip code isn't usable, because it uses compiler macros like __builtin_tblxxx (which aren't available in MikroBasic)
Regards,

Peter.

Post Reply

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