dsPIC BL0032 upload problem

For general Flowcode discussion that does not belong in the other sections.
monie
Posts: 73
http://meble-kuchenne.info.pl
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

dsPIC BL0032 upload problem

Post by monie »

Hello everyone

I can't get the dsPIC BL0032 to upload to the device!

Flowcode Test Menu-001:
Flowcode Test Menu-001.fcfx
(36.63 KiB) Downloaded 573 times

See Compiler Messages:
Compiler Messages.txt
(8.09 KiB) Downloaded 440 times
See Options Locations:
Options Locations.jpg
Options Locations.jpg (67.52 KiB) Viewed 4771 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

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: dsPIC BL0032 upload problem

Post 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

LeighM
Valued Contributor
Posts: 447
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 81 times
Been thanked: 243 times

Re: dsPIC BL0032 upload problem

Post 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

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: dsPIC BL0032 upload problem

Post 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

medelec35
Matrix Staff
Posts: 1924
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 623 times
Been thanked: 645 times

Re: dsPIC BL0032 upload problem

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

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: dsPIC BL0032 upload problem

Post 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

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: dsPIC BL0032 upload problem

Post by monie »

Hello

See right here below:
Compiler Messages.pdf
(45.92 KiB) Downloaded 627 times
Look hire:
Options Locations.jpg
Options Locations.jpg (68.13 KiB) Viewed 4744 times
Best regards

Monie

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: dsPIC BL0032 upload problem

Post 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

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: dsPIC BL0032 upload problem

Post 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

monie
Posts: 73
Joined: Wed Oct 19, 2022 4:06 pm
Has thanked: 1 time

Re: dsPIC BL0032 upload problem

Post 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
GPS.jpg (78.08 KiB) Viewed 4726 times
Component: GPS1 : I cannot in RX but get the message Unconnected

Look here:
Compiler Messages.pdf
(73.85 KiB) Downloaded 432 times
Flowcode v10 Code:
dsPIC_BL0032_GPS-001.fcfx
(19.97 KiB) Downloaded 425 times


Monie

Post Reply