Trying for my first time to program a PIC chip with no luck so far. I'm not sure Flowcode is seeing the Pickit 3. I've followed the readme for setting the compiler options to see the PK3CMD.exe file here,
http://www.matrixmultimedia.com/support ... .php?t=565
Using,
Windows XP
Flowcode home/student for dsPIC
chip is 24HJ12GP201
COMPILE TO CHIP ends,
"Link Error: Could not allocate program memory"
Error returned from [pic.30-gcc.exe]
Return code = 1
Also, under chip configure if I select "Autodetect PICmicro" I get "USB cable is not connected". On the Pickit 3 POWER and ACTIVE leds are lit, but status is dark.
This is probably a little vague, 1st time through. Any thoughts?
Flowcode 4 dsPIC and Pickit 3
Moderator: Benj
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Flowcode 4 dsPIC and Pickit 3
Hi,
Did you change the location and parameters to be for Flowcode v4 for dsPIC rather than Flowcode v4 for PIC, the dsPic location path looks more like this:
C:\Program Files\Matrix Multimedia\Flowcode PIC24&dsPIC V4\Tools\PICkit3\pk3cmd.exe
or
C:\Program Files (x86)\Matrix Multimedia\Flowcode PIC24&dsPIC V4\Tools\PICkit3\pk3cmd.exe
if have a 64bit computer.
Did you change the location and parameters to be for Flowcode v4 for dsPIC rather than Flowcode v4 for PIC, the dsPic location path looks more like this:
C:\Program Files\Matrix Multimedia\Flowcode PIC24&dsPIC V4\Tools\PICkit3\pk3cmd.exe
or
C:\Program Files (x86)\Matrix Multimedia\Flowcode PIC24&dsPIC V4\Tools\PICkit3\pk3cmd.exe
if have a 64bit computer.
-
- Flowcode v5 User
- Posts: 15
- Joined: Fri Dec 09, 2011 4:23 am
- Has thanked: 3 times
- Been thanked: 3 times
Re: Flowcode 4 dsPIC and Pickit 3
Thanks, yes I did. The path was set by navigating to the file installed (by the installer) with the "Browse" option in the compile options menu. Should autodetect work with Pickit 3/dsPIC?
No idea if my computer is 64 bit or not. I'll check it out. I'm a MAC person and picked up a Netbook just to run flowcode...
No idea if my computer is 64 bit or not. I'll check it out. I'm a MAC person and picked up a Netbook just to run flowcode...
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Flowcode 4 dsPIC and Pickit 3
Hello,
The auto detect functionality from the Flowcode PPP config screen only works with the EB006, HP488 or EB064 programmer boards.
Programming via th compile to chip button should work correctly with the PICkit3 if all the settings are correct in the compiler options window.
The auto detect functionality from the Flowcode PPP config screen only works with the EB006, HP488 or EB064 programmer boards.
Programming via th compile to chip button should work correctly with the PICkit3 if all the settings are correct in the compiler options window.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 15
- Joined: Fri Dec 09, 2011 4:23 am
- Has thanked: 3 times
- Been thanked: 3 times
Re: Flowcode 4 dsPIC and Pickit 3
Well after all this time I finally got this working...
Original error was in the chip config. I had the boot block set wrong.
Then I could get MPlab X to see the Pickit but not Flowcode. Flowcode said "Hex file not found" Finally found that error, didn't like the file name. I had spaces.
Original error was in the chip config. I had the boot block set wrong.
Then I could get MPlab X to see the Pickit but not Flowcode. Flowcode said "Hex file not found" Finally found that error, didn't like the file name. I had spaces.