Programming dsPIC33's with F6 and EB064

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
randomrichard
Posts: 41
Joined: Thu Oct 16, 2008 11:01 am
Has thanked: 21 times
Been thanked: 7 times
Contact:

Programming dsPIC33's with F6 and EB064

Post by randomrichard »

ADCto33FJDSP.fcfx
Despite what the attachment shows I am using the internal clock
(10.87 KiB) Downloaded 177 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?

randomrichard
Posts: 41
Joined: Thu Oct 16, 2008 11:01 am
Has thanked: 21 times
Been thanked: 7 times
Contact:

Re: Programming dsPIC33's with F6 and EB064

Post 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.

randomrichard
Posts: 41
Joined: Thu Oct 16, 2008 11:01 am
Has thanked: 21 times
Been thanked: 7 times
Contact:

Re: Programming dsPIC33's with F6 and EB064

Post 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.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Programming dsPIC33's with F6 and EB064

Post 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.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Post Reply