atmega 2560 flowcode9 does not work

For general Flowcode discussion that does not belong in the other sections.
d820513
Posts: 56
http://meble-kuchenne.info.pl
Joined: Thu Aug 19, 2021 1:14 pm
Has thanked: 2 times
Been thanked: 1 time

Re: atmega 2560 flowcode9 does not work

Post by d820513 »

2
Attachments
2560mega.jpg
2560mega.jpg (94.52 KiB) Viewed 1329 times

d820513
Posts: 56
Joined: Thu Aug 19, 2021 1:14 pm
Has thanked: 2 times
Been thanked: 1 time

Re: atmega 2560 flowcode9 does not work

Post by d820513 »

2
Attachments
2560mega.jpg
2560mega.jpg (94.52 KiB) Viewed 1329 times

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: atmega 2560 flowcode9 does not work

Post by BenR »

You might need to click the write config now button if you're not using an Arduino Mega which comes with the bootloader and config pre-written. Hopefully that will solve things for you.

The Write config on download really only applies to PIC devices.

d820513
Posts: 56
Joined: Thu Aug 19, 2021 1:14 pm
Has thanked: 2 times
Been thanked: 1 time

Re: atmega 2560 flowcode9 does not work

Post by d820513 »

I am using arduino mega 2560 board.
microchip studio everything works correctly
Attachments
microchip.jpg
microchip.jpg (37.85 KiB) Viewed 1327 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: atmega 2560 flowcode9 does not work

Post by medelec35 »

Hello.
As you are using the Arduino Mega 2560 board, just select Build>Project options.
Right-click on any target and select search.
Enter mega 2560 for the search term.
Alternatively, you can just select the Mega250 from the Arduino range of devices:
Arduino Range.png
Arduino Range.png (14.55 KiB) Viewed 1323 times
There will be no need to change the configuration settings as everything is preset.
Flowcode will program the Arduino board directly via USB lead.
No external programmer is required.
You stated at the start of your post:
d820513 wrote:
Sun Feb 26, 2023 4:20 pm
today switched to atmega 2560
People will assume that you are using a discrete microcontroller rather than an Arduino Mega 2560 board, which is why you are facing issues.
Martin

d820513
Posts: 56
Joined: Thu Aug 19, 2021 1:14 pm
Has thanked: 2 times
Been thanked: 1 time

Re: atmega 2560 flowcode9 does not work

Post by d820513 »

well, why blink works through microchip studio, but FC9 does not work ???

d820513
Posts: 56
Joined: Thu Aug 19, 2021 1:14 pm
Has thanked: 2 times
Been thanked: 1 time

Flowcode v9 Re: atmega 2560 flowcode9 does not work

Post by d820513 »

martin i did everything you said, but the board still doesn't work. now again checked through microchip studio everything is working correctly

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: atmega 2560 flowcode9 does not work

Post by medelec35 »

Have you overridden the bootloader by using microchip studio?
If you have you will need to reinstall the bootloader.
Arduinos are designed to be programmed via USB and not via microchip studio.
Martin

d820513
Posts: 56
Joined: Thu Aug 19, 2021 1:14 pm
Has thanked: 2 times
Been thanked: 1 time

Re: atmega 2560 flowcode9 does not work

Post by d820513 »

this one through the isp port I upload the firmware hex file
Attachments
images.jpg
images.jpg (20.44 KiB) Viewed 1319 times

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: atmega 2560 flowcode9 does not work

Post by medelec35 »

If I was you I would restore the bootloader and then only program via the USB connector and not via ISP.
This might help?
Martin

Post Reply