PIC24FJ512GA606 download error!

For general Flowcode discussion that does not belong in the other sections.
Steve-Matrix
Matrix Staff
Posts: 1234
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: PIC24FJ512GA606 download error!

Post by Steve-Matrix »

Ahhhh! It seems like there is a problem with the FCDX file for that chip. In fact, the following 3 device files all point to the wrong target device:
  • 24FJ512GA606.fcdx
  • 24FJ512GA610.fcdx
  • 24FJ512GB606.fcdx
Ben will need to fix these through the update system, but for now you can do this manually by closing Flowcode and then editing the "24FJ512GA606.fcdx" file. This file should be found in the following folder on your PC:

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC16\

And near the start of this file, you need to change the following line:

Code: Select all

<device name='24FJ512GB610' product='PIC16' cal='PIC16BIT' family='24F' bits='16' >
to this:

Code: Select all

<device name='24FJ512GA606' product='PIC16' cal='PIC16BIT' family='24F' bits='16' >
Please let us know if this fixes the problem.

seokgi
Posts: 165
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 6 times

Re: PIC24FJ512GA606 download error!

Post by seokgi »

Thank you!

Modified FCDX file.
But it doesn't compile.

Please let me know what I can do.
Attachments
24FJ512GA606.fcdx
(57.84 KiB) Downloaded 86 times
Auto_Lifting_Lamp_CTL_211228_1-PIC24FJ512GA606.msg.txt
(2.81 KiB) Downloaded 87 times

seokgi
Posts: 165
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 6 times

Re: PIC24FJ512GA606 download error!

Post by seokgi »

It is also difficult to change the design due to semiconductor supply and demand problems.

There is a lot of urgency from customers.

Please help me.

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 505 times
Been thanked: 468 times

Re: PIC24FJ512GA606 download error!

Post by medelec35 »

Can you post your flowchart, please?
If you want it to remain private, you can PM it to me.
Martin

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: PIC24FJ512GA606 download error!

Post by BenR »

Hello,

The problem should now be resolved via the Help -> Library updates.

If you're still having problems then please let us know and we can investigate further.

seokgi
Posts: 165
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 6 times

Re: PIC24FJ512GA606 download error!

Post by seokgi »

Thank you.

Compiling works fine.
However, some digital ports do not work.

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: PIC24FJ512GA606 download error!

Post by BenR »

Ok do you know which specific ports are not working for you and are you trying to input or output?

seokgi
Posts: 165
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 6 times

Re: PIC24FJ512GA606 download error!

Post by seokgi »

There are several ports. I want to know how to set a specific port as input or output.

Input -> B6,B8, B9, B14, B15, F4
Output -> B13,D2, D3, D8,D9, D10, E0, E1, E2,E3, E4, E5, F0, F1, G6, G7
IOC -> D0, D11, F3
Serial Commnication -> B7, B12 D1, D6
Analog Input -> B10(AN10)
I2C_0 -> E6, E7
I2C_1 -> G2, G3
PWEM -> D4

seokgi
Posts: 165
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 6 times

Re: PIC24FJ512GA606 download error!

Post by seokgi »

Good morning!
Perhaps I need to adjust the register value that controls the digital port. But I have no control over the registers.
If you tell me how to do it, I'll do it.
Help.
thank you.

seokgi
Posts: 165
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 6 times

Re: PIC24FJ512GA606 download error!

Post by seokgi »

Please teach me how to do it.
So let's do it.

Post Reply