Page 1 of 2
dsPIC BL0032 upload problem
Posted: Fri Aug 11, 2023 5:12 pm
by monie
Hello everyone
I can't get the dsPIC BL0032 to upload to the device
!
Flowcode Test Menu-001:
See Compiler Messages:
See Options Locations:

- Options Locations.jpg (67.52 KiB) Viewed 5337 times
Also getting errors on missing PIC16 compiler toolchain. With the desire that the device is not downloaded/installed. Although I have uploaded the device with
OK
Hope very much you will be helpful with the above
!
User: Windows v10
User: Flowcodw v11
Re: dsPIC BL0032 upload problem
Posted: Fri Aug 11, 2023 5:30 pm
by chipfryer27
Hi
Have you downloaded and installed the E-Blocks2 drivers?
If you go to the downloads page and scroll down you will see a USB Drivers link. This downloads the necessary drivers for the Eblocks.
Regards
Re: dsPIC BL0032 upload problem
Posted: Fri Aug 11, 2023 6:05 pm
by LeighM
Compiler messages indicates that compiler is installed ok. There seems to be port allocation errors, can you check the port pins used for the keypad etc.
I'm not near my Flowcode PC to check any further your program.
Edit: just noticed other thread on same issue. As previously mentioned by benr and chipfryer, please check
1) component port properties
2) USB driver
Re: dsPIC BL0032 upload problem
Posted: Fri Aug 11, 2023 7:28 pm
by monie
For you both / chipfryer27 and LeighM
the following is installed:
1)E-blocks2_64bit_installer
2) component port properties
My choice is 16-bit/dsPIC33F/E / 33EP256MU806
3) USB driver - I don't get any port indication or option.
Is it possible for you to get an example of code that works. Which I can use as a standard for dsPIC BL0032
Kind regards to you both
Monie
Re: dsPIC BL0032 upload problem
Posted: Fri Aug 11, 2023 9:29 pm
by medelec35
Hi monie.
Please look at the keypad port/pin settings, assign a port or custom pins and recompile.
The people who mentioned to check your component port properties are all correct.
Re: dsPIC BL0032 upload problem
Posted: Fri Aug 11, 2023 9:40 pm
by chipfryer27
Hi
I'm travelling just now with no access to FC, however in this link, if you click on resources you should be able to download an example.
https://www.matrixtsl.com/webshop/e-blo ... ammer.html
Regards
Re: dsPIC BL0032 upload problem
Posted: Sat Aug 12, 2023 8:50 am
by monie
Hello
See right here below:
Look hire:

- Options Locations.jpg (68.13 KiB) Viewed 5310 times
Best regards
Monie
Re: dsPIC BL0032 upload problem
Posted: Sat Aug 12, 2023 9:04 am
by chipfryer27
Hi
Hopefully I can have a look at your chart later in the weekend, however I believe the replies above are not referring to your compiler, but the component. If you click on your Keypad component and look at properties, you will see options to set a Port (e.g. PortA/PortB etc) or set Custom pins. What Port have you set the component to use?
Regards
Re: dsPIC BL0032 upload problem
Posted: Sat Aug 12, 2023 2:09 pm
by chipfryer27
Hi
I've only had the briefest of looks at your chart. I updated components as I've not used FC in a week or so then I opened your chart. The Keypad properties were not set (no port(s) allocated), so I set to PortB and saved. This allowed me to compile to Hex without issue.
Regards
Re: dsPIC BL0032 upload problem
Posted: Sun Aug 13, 2023 7:19 am
by monie
Hello everyone
Excerpt from Compiler Messages:
--------------------------------------------------------------------------
Error returned from [xc16-gcc.exe]
C:\Program Files (x86)\Flowcode\Compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
--------------------------------------------------------------------------

- GPS.jpg (78.08 KiB) Viewed 5292 times
Component: GPS1 : I cannot in RX but get the message Unconnected
Look here:
Flowcode v10 Code:
Monie