RFID ICODE FLOWCODE 6.1 avr

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
coffy
Posts: 24
Joined: Tue Feb 12, 2013 5:31 pm
Location: france
Been thanked: 3 times
Contact:

RFID ICODE FLOWCODE 6.1 avr

Post by coffy »

FLOWCODE AVR 4 program works very well with atmega324p (icode).

Flowcode 6.1 AVR bug routines for reading and writing blocks (icode) :evil: , can you solve this problem
thank you.
BRUNO

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: RFID ICODE FLOWCODE 6.1 avr

Post by Benj »

Hello Bruno,

Please can you post a program that demonstrates the problem and we will look into it for you.

coffy
Posts: 24
Joined: Tue Feb 12, 2013 5:31 pm
Location: france
Been thanked: 3 times
Contact:

Re: RFID ICODE FLOWCODE 6.1 avr

Post by coffy »

ok,

the same file flowcode 4 works very well on my cards,
program card reading icode
http://tsin.langevin-la-seyne.fr/SIN/se ... -rfid.html
bruno
Attachments
UID.fcfx
(8.93 KiB) Downloaded 254 times
Last edited by coffy on Mon Nov 17, 2014 7:27 pm, edited 1 time in total.

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: RFID ICODE FLOWCODE 6.1 avr

Post by LeighM »

Hi,
I notice that you are printing the contents of 4 bytes of the card as a string.
Do you have a null terminated string already programmed into the card?
What results are you getting (versus what you expect) with this program?
(e.g. what does it display? what status LEDs do you get on Port B?)

coffy
Posts: 24
Joined: Tue Feb 12, 2013 5:31 pm
Location: france
Been thanked: 3 times
Contact:

Re: RFID ICODE FLOWCODE 6.1 avr

Post by coffy »

hi,
I wrote "2012" in Section 5 with flowcode 4 on the card icode

when reading I do not have 134(0x86) on port B
icode each card gives me a different status code (never 134(0x86)), the macro blocks reading does not work.

in flowcode 4 avr with the same program I read "2012" without problem, flowcode 6 is bugged in Avr :evil:
bruno

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: RFID ICODE FLOWCODE 6.1 avr

Post by LeighM »

Have you got CTS pin connected?
What status LEDs do you get when a card is present?
We''ll try and repeat your tests with an AVR setup.

coffy
Posts: 24
Joined: Tue Feb 12, 2013 5:31 pm
Location: france
Been thanked: 3 times
Contact:

Re: RFID ICODE FLOWCODE 6.1 avr

Post by coffy »

HI,
Getrfiduid-> port b: 134 ok.
ReadRFIDBlock (5,0)-> port b : not 134 ( not ok ).

No wiring problem (cts) for works with flowcode 4 avr
bruno

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: RFID ICODE FLOWCODE 6.1 avr

Post by LeighM »

Hi Bruno,
Thanks for the bug report.
Turned out to be a receiver timeout bug in the AVR CAL UART code (due to compiler optimisations).
But in the process of resolving the issue I made some improvements to the RFID component too.
Both updates attached.
Thanks and regards,
Leigh
Attachments
RFID.fcpx
(11.45 KiB) Downloaded 257 times
AVR_CAL_UART.c
(58.89 KiB) Downloaded 248 times

coffy
Posts: 24
Joined: Tue Feb 12, 2013 5:31 pm
Location: france
Been thanked: 3 times
Contact:

Re: RFID ICODE FLOWCODE 6.1 avr

Post by coffy »

hi,
ok, I just tested and now it works very well. :D :D
thank you
bruno

Post Reply