Page 1 of 1

Programming dsPIC33's with F6 and EB064

Posted: Sat Mar 08, 2014 9:54 pm
by randomrichard
ADCto33FJDSP.fcfx
Despite what the attachment shows I am using the internal clock
(10.87 KiB) Downloaded 176 times
I have been writing code for dsPIC33FJ128GP802 installed with EB055 (BL) and EB039 (BH) on EB064 and getting a nearly-adequate 16,000 lines/sec of 16 bit ADC data to my PC, where it arrives a little scrambled, but no matter (code attached). I was hoping to increase this using the faster dsPIC33EP256GP502 and transferred the software in F6 to run this chip. However, although F6 recognises the latter chip, the EB064 does not. So I'm stuck. Do you have a fix for the EB064 to extend its range and include the 33EP chip?

Re: Programming dsPIC33's with F6 and EB064

Posted: Sun Mar 09, 2014 9:12 am
by randomrichard
ps To get the speed mentioned previously, set the SPI clock to Fosc/4 and the (software) baud to 460800. 921600 also works but is no faster, with Realterm.

Re: Programming dsPIC33's with F6 and EB064

Posted: Sun Mar 09, 2014 8:37 pm
by randomrichard
pps I've worked out (I think!) that I need to use a PICKit 3 to upload code written with the help of Flowcode 6 to extend the range of dsPIC chips I can test on the EB064 to that encompassed by F6.

Old blokes like me who design and make new kit read manuals. I wish Flowcode had one that covered vital stuff like this. I know the trend is towards FAQ's and Fora (it's latin) but the know-how is badly packaged in such places. A good manual would help replace the professional teaching most Flowcode users get in college, which is unavailable to many.

Re: Programming dsPIC33's with F6 and EB064

Posted: Sun Mar 09, 2014 11:01 pm
by kersing
PICkit3 works, however MM should be able to add definitions for this chip to mLoader to enable EB064 programming. I looked at having a go at it but do not know the format of the definition file and did not want to risk damaging anything.