Search found 52 matches

by yann.cosson
Sat Apr 06, 2013 7:10 am
Forum: Forums d'aide en français
Topic: acquisition de touches
Replies: 1
Views: 3327

acquisition de touches

Bonjour à tous, Je cherche un algo simple pour faire de l'acquisition de touches. pour l'instant j'ai 8 touches sur un port de mon Atmega128. Eventuellement, un algo pour un clavier matriciel, car je pense mettre par la suite un clavier sur ce même port. Merci beaucoup d'avance. PS : J'ai déjà essay...
by yann.cosson
Thu Aug 02, 2012 3:08 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

On ATmega128, where my flow doesn't work on v5, i have M103C and JTAGEN check, that are not on ATmega328 (but no jtag on ATmega328 only isp).

on ATmega328P where macro works i have "BOOTRST" check and the value size is different.

Can it be a reason why ...

Yann :D
by yann.cosson
Thu Aug 02, 2012 3:01 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

and i do the same on ATmega128 where MACRO doesn't work on v5
by yann.cosson
Thu Aug 02, 2012 3:00 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

i made another thing i read the fuse of my ATmega328P where the macro on v5 works
by yann.cosson
Thu Aug 02, 2012 2:59 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

when i put a flow i have done and that works on v4, all is OK on my card
by yann.cosson
Thu Aug 02, 2012 2:58 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

and
by yann.cosson
Thu Aug 02, 2012 2:58 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

the result is :
by yann.cosson
Thu Aug 02, 2012 2:57 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

when i try this, build on v4
by yann.cosson
Thu Aug 02, 2012 12:09 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

i have a ATMEL STUDIO prog error.
a ATMEL STUDIO popup appears, saying that he was unable to prog because he couldn't find a valid file .hex,
But in the directory i have the file generated by flowcode.
by yann.cosson
Thu Aug 02, 2012 10:45 am
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

i just changed SUT_CKSEL with internal 8MHz i flash a k2000 and my card is ok now :D i tried the last flow you send me with 3 macro, it works on Flowcode, but when i want to flash it in my card i have an error. when i flash one of my flowcode it's ok. What is the different between mine and yours ? W...
by yann.cosson
Thu Aug 02, 2012 10:38 am
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

I changed my µC and i put a new one on my card.
bye bye the other one :cry:

i read the fuse factory setup before doing anything else
by yann.cosson
Thu Aug 02, 2012 7:40 am
Forum: Flowcode V5
Topic: Build Flowcode 5 AVR, C file, with ATMEL STUDIO
Replies: 0
Views: 1920

Build Flowcode 5 AVR, C file, with ATMEL STUDIO

Hello,


i'd like to know if it is possible to build the C file generate by flowcode 5 AVR, with ATMEL STUDIO 6 ?

If yes, how can i do ?

Best regards,

Yann :D
by yann.cosson
Thu Aug 02, 2012 7:37 am
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

Little add,

When i connect my JTAG ICE MKII on my card, the ARV STUDIO couldn't read the signature of the chip.
i have a 0x00, 0x00, 0x00 signature.

i change the µC this morning, and i think i will never play again with the fuses :(

Yann.
by yann.cosson
Wed Aug 01, 2012 8:45 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

My JTAG is no more able to read device information, i have a message error :

"
Timestamp: 2012-08-01 21:31:45.875
Severity: INFO
ComponentId: 20100
StatusCode: 0
"

I can read, and i could not prog anymore too. :cry:

What can i do to go back to my value ?
by yann.cosson
Wed Aug 01, 2012 8:10 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

poufffffff

i put the low, hight and extended fuses with the value you done to me, and now i can't connect with my jtag to my card, i have an error.
The avr prog doesn't recognize my µC.
it's look like i have kill my µC...

:cry:

So i couldn't test the flow you send.

:cry:

Yann.
by yann.cosson
Wed Aug 01, 2012 6:57 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

second pics
by yann.cosson
Wed Aug 01, 2012 6:57 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

on AVR studio Prog page i have :

see the 2 pics,

LOW : 0xC4
HIGHT : 0x99
EXTENDED : 0xFD
by yann.cosson
Wed Aug 01, 2012 3:16 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

there is a watchdog timer on ATmega128, but he is disable. And why if there is a watchdog timer, when you make exactly the same flow, but one with macro and another all in the same main, the one that is in the same main work perfect, and the one with macro doesn't. If the watchdog timer was enable, ...
by yann.cosson
Wed Aug 01, 2012 7:36 am
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

Hello, good morning, I have a little theory to ask about the PB. it's look like the µC start the main, make init and things like that, do the prog, and after arrive to a macro. he go in the macro, do what is programed in the macro, but at the end of the macro instead of keep on where he leave the ma...
by yann.cosson
Tue Jul 31, 2012 8:52 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

I try your debug.fcf_avr and when you see the simu on flowcode the LED A7 bright, and after A6 and after A5, It's correct, no ? But on my card, the LED A7 set on and off, and after LED A6 set on and off, but after :( LED A7 bright again, and after A6, etc ......, A7, A6, A7, A6, ..... A5 never get o...
by yann.cosson
Tue Jul 31, 2012 3:29 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

ok i will try this as soon as i'll be at my home.

i tell you back what's going wrong and how the prog work.

I think asm file is the lst one for avr, so i send you my lst file of v5, the one that doesn't work.
in this lst file there are many asm command, so i think this is the one.

Yann :D
by yann.cosson
Tue Jul 31, 2012 2:20 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

where is the asm file because in the workspace rep there is one file with :
- .c
- .cof
- .elf
- .fcf_avr
- .fcf_avr.001
- .fcf_avr.v31
- .hex
- .lst
- .msg.txt


i thought that the asm file was the one with extension .lst, and i send them in the rar file, post before.

Yann. :D
by yann.cosson
Tue Jul 31, 2012 10:57 am
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

here is the C code made by FCD v5, with the same Flowchart
I add the Hex too

Thx for All. :D
by yann.cosson
Tue Jul 31, 2012 10:56 am
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

here is the C code made by FCD v4
I add the Hex too
by yann.cosson
Mon Jul 30, 2012 9:15 pm
Forum: Flowcode V5
Topic: PB with MACRO on Flowcode 5 AVR pro
Replies: 46
Views: 26315

Re: PB with MACRO on Flowcode 5 AVR pro

i made a little modification to see if it was my flowchart style that was wrong, but it still doesn't work :( i make a main, in which there is a while 1, and i use 2 macros, one for LED<<1, and one for LED>>1. with Flowcode v5, there is only the first macro that "starts and works", i have LED<<1, an...