Flowcode V5.3 ARM Pro -> Bug List

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
User avatar
Nico595
Posts: 84
Joined: Mon Jan 23, 2012 6:46 pm
Location: France
Has thanked: 12 times
Been thanked: 10 times
Contact:

Flowcode V5.3 ARM Pro -> Bug List

Post by Nico595 »

Bonjour,

Je rencontre quelques problemes avec Flowcode 5.3 ARM Pro

1) La fonction "use alternative pin" n est pas disponible alors que le SAM7S512 integre cette fonction. J en ai besoin pour le Canal PWM 3 pour Flowcode => PWM(2) pour ARM => PA2 vers PA25. J ai essayé de fixer %c a 1 dans les Defines, mais sans succes.
"Use alternate pin" is not available but I want sent PA2 -> PA25 available with SAM7S512.

2) La frequence de sortie PWM ne correspond pas au parametrage, la frequence max PWM = 12.5 KHz a MCK = 48MHz, prescaleur = 1
PWM output frequency is not correct, Freq PWM output max = 12.5KHz for MCK = 48MHz and prescal = 1

3) Les sorties PWM se perturbent les unes aux autres. J utilise les 3 canaux PWM mais l activation du PWM(0) ou du PWM(1) modifie la frequence du PWM(2).
With 3 PWM chanel, after PWM(0) or PWM(1) Enable, frequency of PWM(2) change.

4) Le Component FAT fonctionne parafaitement en FAT32 mais il ne fonctionne pas avec une SDcard SDHC > 2GO. Cette fonction est vraiment tres importante.
SDCard SDHC > 2GO is not available.



Merci pour vos reponses.
Thanks for your fast reply
Nicolas.
Last edited by Nico595 on Sat Jul 07, 2012 12:51 am, edited 1 time in total.

User avatar
Nico595
Posts: 84
Joined: Mon Jan 23, 2012 6:46 pm
Location: France
Has thanked: 12 times
Been thanked: 10 times
Contact:

Re: Flowcode V5.3 ARM Pro -> Bug List

Post by Nico595 »

En reponse a mes questions
For my questions:

1) J ai ecrit le module PWM3 en C
I write code C for PWM3

2) J utilise une ancienne version du PWM Component pour les canaux PWM1 et 2. La frequence est parfaite mais quelques parametrages sont a effectuer en fixe dans la macro.
I use old version PWM Component, Frequency is OK but for setup parameters it s fixed in component macro.

3) Plus de soucis avec l ancienne version du PWM Component, les 3 canaux PWM fonctionnent parfaitement.
No problem with old PWM Component version.

4) Pour passer le hardware SPI en haute vitesse je n ai trouvé que cette solution.
FAT Component in High Speed SPI Hardware with this code:

AT91F_SPI_CfgCs(AT91C_BASE_SPI, 0, (12 << FCV_SPI_SPEED) | AT91C_SPI_NCPHA | AT91C_SPI_CPOL);


Mais le Component FAT ne fonctionne pas avec les carte SDHC > 2GO
But it s very very important, FAT component dont work with SDHC Card > 2GO.

Quelqu un s est il penché sur ce probleme ou a developpé le Component FAT afin qu il soit compatible SDHC pour toutes les cartes > 2GO ?


Please, can you design a fully FAT SDHC Card Component .


Merci pour vos reponses.
Thanks for your fast reply,
Nicolas.

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: Flowcode V5.3 ARM Pro -> Bug List

Post by Benj »

Bonjour Nicolas,

Un grand merci pour soumettre cette liste des bogues pour nous.

1) Je vais examiner cette question et voir si elle est une solution facile, nous pouvons fournir dans la prochaine version.

2) Je pense que cela peut être lié à un petit bug dans la simulation composant comme un bug similaire existe pour les AVR. Encore une fois nous devrions être en mesure de régler cette question pour la prochaine version.

3) Voir la réponse 1)

4) Je travaille actuellement sur ​​une version compatible SDHC de la composante FAT, il est encore une manière hors le moment, mais j'espère que d'avoir cette disposition dès que possible. Je vais probablement présenter une version bêta de la composante sur les forums pour tester dès que le code est en marche alors surveillez cet espace.


Hello Nicolas,

Many thanks for submitting this bugs list to us.

1) I will look into this issue and see if it is an easy fix we can provide in the next release.

2) I think this may be related to a small bug in the component simulation as a similar bug existed for AVR. Again we should be able to sort this for the next release.

3) See reply 1)

4) I am currently working on a SDHC compatible version of the FAT component, it is still a way off at the moment but I hope to have this available as soon as possible. I will probably submit a beta version of the component onto the forums for testing as soon as the code is up and running so watch this space.

User avatar
Nico595
Posts: 84
Joined: Mon Jan 23, 2012 6:46 pm
Location: France
Has thanked: 12 times
Been thanked: 10 times
Contact:

Re: Flowcode V5.3 ARM Pro -> Bug List

Post by Nico595 »

Bonjour Benj
Hello Benj

Merci pour vote retour,
Thanks for your reply

J attends avec impatience votre Beta version du Component FAT en SDHC, je vous ferais un topo complet tres rapidement de son fonctionnement.
I waiting your Beta Version of FAT Component.

EDIT 10.07.2012:

Il y a un autre probleme important sur le Component FAT. Lorsqu il y a un peu plus de 100 MOctets de données l ecriture est tres lente. Je pense qu il y a un probleme au niveau de la macro Move_To_Next_File_Sector, qui bloque le MCU.
There is other problem with this FAT Component. When there is 100MO file on SDCard, writting is low speed. I think there is a problem with Move_To_Next_File_Sector macro, stop MCU.

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: Flowcode V5.3 ARM Pro -> Bug List

Post by Benj »

Beta version now available from here: http://www.matrixmultimedia.com/mmforum ... =7&t=10715

User avatar
Nico595
Posts: 84
Joined: Mon Jan 23, 2012 6:46 pm
Location: France
Has thanked: 12 times
Been thanked: 10 times
Contact:

Re: Flowcode V5.3 ARM Pro -> Bug List

Post by Nico595 »

Great :D

Thank Ben, I test today.

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: Flowcode V5.3 ARM Pro -> Bug List

Post by Benj »

Hello,

This CAL file fixes the PWM period and prescaler problems.
ARM_CAL_PWM.c
(11.28 KiB) Downloaded 308 times
Let me know how you get on.

User avatar
Nico595
Posts: 84
Joined: Mon Jan 23, 2012 6:46 pm
Location: France
Has thanked: 12 times
Been thanked: 10 times
Contact:

Re: Flowcode V5.3 ARM Pro -> Bug List

Post by Nico595 »

Hello Ben,

Ok I found CAL folder, I test ...

EDIT 19.07.2012:

PWM Frequency is Ok but with a small problem but no great :) .

My frequency should be ~ 47KHz at MCK 48MHz and prescaler = 4, Period Register = 255.
But I have 55KHz with saturation on last bits of Period Register with Duty Cycle macro (between 200 - 254 I think)

May be there is a problem with Period Register parameter, like if not = 255 but ~ 200.

Nicolas

User avatar
Nico595
Posts: 84
Joined: Mon Jan 23, 2012 6:46 pm
Location: France
Has thanked: 12 times
Been thanked: 10 times
Contact:

Re: Flowcode V5.3 ARM Pro -> Bug List

Post by Nico595 »

Hi Ben,

I can up this problem ?

Period Register parameter, like if not = 255 but ~ 200.

Thank you very much for your reply.

Post Reply