From: SourceForge.net <no...@so...> - 2007-12-28 13:48:12
|
Patches item #1859692, was opened at 2007-12-28 14:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300599&aid=1859692&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Borut Ražem (borutr) Assigned to: Nobody/Anonymous (nobody) Summary: added support for the asix ax110xx chips Initial Comment: By: mamalala1 (mamalala1) - 2007-11-30 05:32 hi all, just made a small patch to sdcc & the ds390 code to support the asix ax110xx cpu's. they are 8051/80390 chips. the change is to add a code sequence to the startup stuff that the compiler generates and a small change to the irq-vector generation. background: the cpu always starts in 8051 mode and needs acon=0x02 to get into ds390 mode. since the native ds390 target generates only 390 code, the chip does not startup. the patch adds the switch --use-asix to insert the needed sequence and set the cpu in 80390 mode. it is generated against a snapshot tarball from the cvs, namely from sdcc-src-20071129-4972.tar.bz2 maybe there is a different solutioon for that, but it works for me that way ;) hope its usefull, greets, chris The original mesage is at https://sourceforge.net/forum/message.php?msg_id=4651236 The patch is at https://sourceforge.net/forum/message.php?msg_id=4651244 Borut ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300599&aid=1859692&group_id=599 |