PIC24FJ512GA606 download error!

For general Flowcode discussion that does not belong in the other sections.
seokgi
Posts: 165
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 1:43 pm
Has thanked: 5 times
Been thanked: 6 times

PIC24FJ512GA606 download error!

Post by seokgi »

Hello.

I have a question.

I'm working on a project using PIC24FJ512GA606.
When I select the project option and compile and download it, an error that the device is not recognized appears.

And when I look at the project options again, I see the other chip selected. How to solve it?


Please help.

thank you.
Attachments
K-001.png
K-001.png (127.14 KiB) Viewed 3491 times
K-002.png
K-002.png (91.95 KiB) Viewed 3491 times
K-003.png
K-003.png (126.6 KiB) Viewed 3491 times
Last edited by seokgi on Tue Dec 28, 2021 11:41 am, edited 2 times in total.

FITech
Posts: 7
Joined: Fri Mar 19, 2021 7:26 am
Has thanked: 2 times
Been thanked: 2 times

Re: PIC24FJ512GA606 compile error!

Post by FITech »

Looking at the PLL Block for the chip, max system CLK is 32MHz.

You need to lookup the datasheet to see what Configuration Bits and necessary registers to set.
Attachments
PLL BLock.png
PLL BLock.png (65 KiB) Viewed 3485 times

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

Re: PIC24FJ512GA606 compile error!

Post by seokgi »

Thank you for answer.
But the key is that the compiled data is not downloaded to the mcu.

kersing
Valued Contributor
Posts: 149
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 63 times
Been thanked: 56 times

Re: PIC24FJ512GA606 download error!

Post by kersing »

The PICkit detects an DSPIC33FJ32MC302, so either you are using the wrong chip or you need to check your hardware setup.

By the way, next time you post compiler output please go to the ….msg.txt file in your flowchart folder and copy-and-paste the text in the file, not a screenshot for easier reading for us.

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 »

I post the message file.
Attachments
Auto_Lifting_Lamp_CTL_211228_1-PIC24FJ512GA606.msg.txt
(9.59 KiB) Downloaded 110 times

kersing
Valued Contributor
Posts: 149
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 63 times
Been thanked: 56 times

Re: PIC24FJ512GA606 download error!

Post by kersing »

What is your hardware? What is connected to what?

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 »

I'm connected PICKIT3 to PIC24FJ512GA606.

kersing
Valued Contributor
Posts: 149
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 63 times
Been thanked: 56 times

Re: PIC24FJ512GA606 download error!

Post by kersing »

A bit more information would not hurt. How did you connect the two? Which pin to which pin? What else is connected?

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 »

Post my drawings.
Attachments
K-005.png
K-005.png (112.32 KiB) Viewed 3426 times
K-004.png
K-004.png (161.23 KiB) Viewed 3426 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 »

MPLAB IPE downloads normally.
Please make it work in FC9.

Post Reply