This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AT91jtst infos


Hi Andrew,
I write to you using local email account, because ATMEL intranet is down at
the moment.

> If the JTST the only device with AD/DA or are there others as well? Would
it be
> better to change all varients to use TC1?

JTST is the only platform (at the moment) that has AD/DA  (because it is
specialized in sound processing) and needs exclusive use of timer2.
I didn't change it for all platforms just to avoid possible bad interactions
with some software written for
others AT91 platforms. But I don't have problems to change it if you want.

>>+ #define HAL_PLATFORM_RESET()
>> This uses the watchdog to reset the platform. Does this not work for the
jtst?
Yes, it works but I completely forgot to handle it (because we never used
it). The function hal_at91_reset_cpu it's ok also for jtst.

>> +hal_at91_led(int val){
>> +  unsigned led=BIT21|BIT22|BIT23|BIT24|BIT25|BIT26|BIT27;
>> +  // all leds off
>> +  HAL_WRITE_UINT32(AT91_PIO+AT91_PIO_SODR,led)
>> Doesn't this actually turn all LEDs on, not off. Its the same pattern as
used for 8.

Don't ask me why, but the leds we mounted on the board turn off with logic
'1' and turn on with logic '0'.
Then to print something the first thing I do is to turn off all leds.

>> You mlt_arm_at91_jtst_romram.ldi file is broken. It puts the rom_vectors
where
>> there is no memory, which the linker does not like.
Sorry for that, the problem is that ROMRAM target it hasn't been used till
now (then never debugged).

>> I will attach a new version of the patch. Please use this version for all
your
>> further changes.

THANK YOU so much!!

best regards

Andrea.
------------------------------------------------------------------------
Andrea Michelotti - HW/SW Co-Design Manager
ATMEL Rome
mailto: amichelotti@atmel.com,  amichelotti@atmelroma.it
web: www.atmel.com, www.atmelroma.it
------------------------------------------------------------------------






-------------------
Andrea Michelotti
ATMEL Rome -


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]