DATA pin of ICD cannot be changed on ATMEL chips

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

DATA pin of ICD cannot be changed on ATMEL chips

Post by EtsDriver »

The ICD data pin defaults to A port when i try to change it (AtMega 32, 168, 328, 16, 128 etc). Is there any workaround for this problem? I have PCB wich i desinged to use the PG4 and PG3 for ICD. If it defaults to port A, i cannot even change it back to B port.
Attachments
Sieppaa.PNG
(82 KiB) Downloaded 1268 times
Ill just keep the good work up!

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: DATA pin of ICD cannot be changed on ATMEL chips

Post by Benj »

Hello,

Thanks for posting the bug, I have added it to the list.

For now you can workaround the issue by changing the defaults in the FCDX definition file.

There is a section right at the end of the file that looks like this.
<test >
<icd >
<clock port='1' pin='6' />
<data port='1' pin='7' />
</icd>
</test>
You should be able to assign your correct ICD pins using this.

I have created a modified ATMEGA128 FCDX file for you using pins G3 and G4. The file needs to be placed into the "C:\Program Files (x86)\Flowcode 6\FCD\AVR" folder before starting Flowcode.
Attachments
ATMEGA128.fcdx
(25.68 KiB) Downloaded 191 times

Post Reply