#95 added support for the asix ax110xx chips

None
closed-accepted
None
5
2015-11-07
2007-12-28
No

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

Discussion

  • Borut Ražem

    Borut Ražem - 2007-12-28
     
  • Borut Ražem

    Borut Ražem - 2007-12-28

    Logged In: YES
    user_id=568035
    Originator: YES

    File Added: ax110xx.patch

     
  • Maarten Brock

    Maarten Brock - 2013-09-28

    I see no reason for the option, the ds390 is no different in this regard.

    It makes me wonder why the ds390 port is making things so difficult by requiring the user to implement the switch to 24 bit mode in __sdcc_external_startup().

    I think I will apply the patch without the --use-asix option.

     
  • Maarten Brock

    Maarten Brock - 2015-11-07
    • status: open --> closed-accepted
    • assigned_to: Maarten Brock
    • Group: -->
     
  • Maarten Brock

    Maarten Brock - 2015-11-07

    This should have been closed a long time ago. It was applied in SDCC 3.3.1 [r8897] on 2013-11-16.

     

    Related

    Commit: [r8897]


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks