Hello,
I was testing by simulation on my earlier Flowcode projects from version ARM FC V5 importing into ARM FC V6.0.10.0
Importing of the earlier version V5 projects is working well.
If you look in version V4 and V5 of the AT91SAM7S256/128/64 the pincount is correct and has 64 pins which makes all ports A - D available.
I know thera are 2 variants of the chips with pincount 48 and 64 pins, but my SAM7S_EK board used the 64 pin chip.
When we look at ARM FC V6 the AT91SAMSxxx chips show us 48 pins and the chip with 64 pins is not available, and 48 pin chip shows only PORTA, PORTB and PORTD.
PORTC seems not to be available any more.
I need port C (as configured in FC for AT91SAM7Sxxx chips) for de ATMEL AT91SAM7S_EK board to drive the LEDS DS2(PORTC2) and DS3(PORTC3) which now can not be used.
By simulation the momentary buttons on PORTD.2 and PORTD.3 can not be read and driving the LEDS on PORTC.2 and PORTC.3 don't work by missng PORTC
The only chip which has correct pincount available in ARM FC V6 is the AT91SAM7S64_EK with 64 pins, and I'm not sure if the AT91SAM7S64_EK is pin / port compatibel with the AT91SAM7S256_EK (= AT91SAM7S_EK board)
I tried this one but by simulation my port D reading momentary buttons (active high) by PORTD 2 and 3 still not work.
In my Earlier versions ARM FC V4 and V5 with the same project the program simulation and downloading to AT91SAM7S_EK works all correctly.
Is there a mismatch of PORTS configuration for AT91SAM7Sxxx between 48 pin and 64 pin variants by ARM FC V6 ?
Regards,
Huib
Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Moderator: Benj
-
- Posts: 63
- Joined: Fri Oct 12, 2007 5:13 pm
- Location: Netherlands
- Been thanked: 1 time
- Contact:
Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Last edited by Huib Koppers on Sat Aug 23, 2014 10:39 am, edited 1 time in total.
- 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: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Hello Huib,
Let me investigate this for you.
Let me investigate this 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
-
- Posts: 63
- Joined: Fri Oct 12, 2007 5:13 pm
- Location: Netherlands
- Been thanked: 1 time
- Contact:
Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Ben,
Thank you for investigating, I hope that it can besolved soon.
Regards,
Huib
Thank you for investigating, I hope that it can besolved soon.
Regards,
Huib
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Hi Huib,
As I don't work for Matrix here is an unoffical temporary solution.
I have modifed:
AT91SAM7S12.fcdx
AT91SAM7S16.fcdx
AT91SAM7S32.fcdx
AT91SAM7S64.fcdx
AT91SAM7S128.fcdx
AT91SAM7S256.fcdx
AT91SAM7S321.fcdx
AT91SAM7S512.fcdx
That's in:
C:\Program Files (x86)\Flowcode 6\FCD\ARM (If 64 bit windows)
or
C:\Program Files\Flowcode 6\FCD\ARM(If 32 bit windows.)
If you make a copy of the original files and replace with the files contained within zip file, hopefully they will work for you.
Not tested as I'm not that familiar with arm.
Can you let me know if attached files have fixed the issue or not.
Thanks
Martin
As I don't work for Matrix here is an unoffical temporary solution.
I have modifed:
AT91SAM7S12.fcdx
AT91SAM7S16.fcdx
AT91SAM7S32.fcdx
AT91SAM7S64.fcdx
AT91SAM7S128.fcdx
AT91SAM7S256.fcdx
AT91SAM7S321.fcdx
AT91SAM7S512.fcdx
That's in:
C:\Program Files (x86)\Flowcode 6\FCD\ARM (If 64 bit windows)
or
C:\Program Files\Flowcode 6\FCD\ARM(If 32 bit windows.)
If you make a copy of the original files and replace with the files contained within zip file, hopefully they will work for you.
Not tested as I'm not that familiar with arm.
Can you let me know if attached files have fixed the issue or not.
Thanks
Martin
- Attachments
-
- AT91SAM7Sxxx.zip
- (21.23 KiB) Downloaded 223 times
Martin
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Just curious if anyone has used port C on hardware?
If so is it working with attached files.
Thanks
Martin
If so is it working with attached files.
Thanks
Martin
Martin
-
- Posts: 63
- Joined: Fri Oct 12, 2007 5:13 pm
- Location: Netherlands
- Been thanked: 1 time
- Contact:
Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Hello Martin,
Sorry for my late responding I a lot of busy weeks behind me
I have tested your solution and have noticed the following things;
1: After importing a ARM flowcode V5 project the Pincount selection on the processor is well selected.
2: PORT-C is available again
3: When starting the simulation on the project the ports C and D on the processor pins don't show activity on used pins.
So older project files from Flowcode ARM V5 after importation to Flowcode ARM V6 will not work well
I shall build a new project to find out if your solution will work well by simulation and on hardware.
Thanks for your help so far
Regards
Huib
Sorry for my late responding I a lot of busy weeks behind me
I have tested your solution and have noticed the following things;
1: After importing a ARM flowcode V5 project the Pincount selection on the processor is well selected.
2: PORT-C is available again
3: When starting the simulation on the project the ports C and D on the processor pins don't show activity on used pins.
So older project files from Flowcode ARM V5 after importation to Flowcode ARM V6 will not work well
I shall build a new project to find out if your solution will work well by simulation and on hardware.
Thanks for your help so far
Regards
Huib
-
- Posts: 63
- Joined: Fri Oct 12, 2007 5:13 pm
- Location: Netherlands
- Been thanked: 1 time
- Contact:
Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Hello Martin, Benj,
I have made a new project file with the solution by Martin with the new FCD Files for Atmel ARM SAM7Sxxx.
I see port activity on the ARM SAM7Sxxx processor pins by simulation !
Could even download the project to my ATmel board on hardware and tested it succesful !
Thanks for the help and support !
Regards
Huib
I have made a new project file with the solution by Martin with the new FCD Files for Atmel ARM SAM7Sxxx.
I see port activity on the ARM SAM7Sxxx processor pins by simulation !
Could even download the project to my ATmel board on hardware and tested it succesful !
Thanks for the help and support !
Regards
Huib
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins
Hello Huib,
Thank you for letting us know.
I'm glad the modified files are working for you.
Martin
Thank you for letting us know.
I'm glad the modified files are working for you.
Martin
Martin