Problem with flash library for dspic

General discussion on mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
stradust
Posts: 3
Joined: 08 Aug 2016 21:41

Problem with flash library for dspic

#1 Post by stradust » 14 Mar 2017 17:36

Hello all,
Iam stuck since two days with the flash library for ds pic.
Iam using dspic 33ep32mc202

The libraries flash write and flash write compact are not present with some mcu 33ep32.. 33ep64.. 33ep128 didnt check oders.

The only available to write are flash_writedoubleword.

I am using the following code without sucess.

const iArr as longword[2] = (0x444444,0x444444)
dim ptr_data as longword
ptr_data= @iArr
flash_erase(0x400)
'flash_erase(0x40400)
flash_writedoubleword(0x400,ptr_data )
'flash_writedoubleword(0x40400,ptr_data )

does anybody using the libray succefuly?
Thank you for your help

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: Problem with flash library for dspic

#2 Post by lana.arsic » 16 Mar 2017 17:44

Hi,

I believe I have answered you on the ticket,
so I suggest to continue our correspondence there.

Kind regards,
Lana

Post Reply

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