FLOWCODE AVR 4 program works very well with atmega324p (icode).
Flowcode 6.1 AVR bug routines for reading and writing blocks (icode) , can you solve this problem
thank you.
BRUNO
RFID ICODE FLOWCODE 6.1 avr
Moderator: Benj
- 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
Hello Bruno,
Please can you post a program that demonstrates the problem and we will look into it for you.
Please can you post a program that demonstrates the problem and we will look into it for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: RFID ICODE FLOWCODE 6.1 avr
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
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 261 times
Last edited by coffy on Mon Nov 17, 2014 7:27 pm, edited 1 time in total.
- 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
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?)
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?)
Re: RFID ICODE FLOWCODE 6.1 avr
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
bruno
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
bruno
- 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
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.
What status LEDs do you get when a card is present?
We''ll try and repeat your tests with an AVR setup.
Re: RFID ICODE FLOWCODE 6.1 avr
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
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
- 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
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
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 264 times
-
- AVR_CAL_UART.c
- (58.89 KiB) Downloaded 255 times