Page 1 of 1

Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins

Posted: Fri Aug 08, 2014 4:39 pm
by Huib Koppers
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

Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins

Posted: Tue Aug 12, 2014 12:28 pm
by Benj
Hello Huib,

Let me investigate this for you.

Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins

Posted: Sat Aug 23, 2014 10:42 am
by Huib Koppers
Ben,

Thank you for investigating, I hope that it can besolved soon.

Regards,

Huib

Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins

Posted: Sat Aug 23, 2014 1:46 pm
by medelec35
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

Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins

Posted: Fri Aug 29, 2014 4:47 pm
by medelec35
Just curious if anyone has used port C on hardware?
If so is it working with attached files.

Thanks

Martin

Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins

Posted: Sat Sep 27, 2014 10:02 am
by Huib Koppers
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

Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins

Posted: Sun Oct 05, 2014 8:08 pm
by Huib Koppers
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

Re: Pincount ARM AT91SAM7Sxxx 48pins instead of 64pins

Posted: Sun Oct 05, 2014 8:17 pm
by medelec35
Hello Huib,
Thank you for letting us know.
I'm glad the modified files are working for you.

Martin