From: Dave M. <dma...@re...> - 2000-07-31 06:42:40
|
I've used SDCC with the TINI board reasonably extensively. I have had a lot of problems with function parameters not being referenced correctly. I certainly get the problem when I walk over low memory (OK, that's reasonable) but I also appear to get it under other circumstances, especially when there are several long parameters being passed to a routine (e.g. pointers). As a result of not really having the time to dig into it properly I've back-burnered the project for a while, but I will return... Although you can switch the TINI board into emulate 8051 mode I don't have any real idea how you can access the nice perhaps in that mode, since they pour output onto the databus. If you (E)xit from the monitor (having just loaded your program) control is transferred to 0x010000, in flat mode. The first thing I do is copy the interrupt vectors up to 0x100000 and from that point everything is sweet. The Ethernet chip lives at 0x300000 and is 16 octets wide - it's pretty straightforward to talk to. I also make sure that the clock is running at the correct multiplier and that we're in flat mode (so my code should run without the debugger present). One thing to watch out for is the use of the RS232 control line to keep the TINI board in reset. If you're using their JAVA front end it's not a problem, otherwise cut the track on the board and put a momentary action pushbutton in there - when you've reset the board you have to send a <CR> from your terminal emulator within a few seconds otherwise the monitor automagically transfers control to the start location. I run the terminal emulator at 115200. Hope this is useful - e-mail for more. DAVE dma...@re... -----Original Message----- From: sdc...@li... [mailto:sdc...@li...]On Behalf Of da...@kd... Sent: Sunday, July 30, 2000 9:19 AM To: sdc...@li... Subject: Re: [Sdcc-user] Re: [TINI] Any one used sdcc (small device c compil er) for tini? On 29 Jul, Don Loomis wrote: >There is a guy on the list that has been working with SDCC and I think he's made >a fair amount of progress getting 390 support. You can certainly use this with >the "TINI board model 390" to do your own non-TINI thing and replace our >firmware. That would be Karl Bonger's web site... there is a link to it on the SDCC main page. -- Dave I come from the net.... I search through systems, people, and cities to find this place... mainframe, my home. My format: Guardian, to mend and defend. Reboot! ----------------------------------------------------------------------- Dave Helton, KD0YU - da...@kd... - http://www.kd0yu.com Real World Computing - 319-386-4041 - 8am-5pm CST Linux/Novell/NT | Servers/Workstations | Consulting | Internet Technologies ----------------------------------------------------------------------- _ / / (_)__ __ ____ __ / /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a /____/_/_//_/\_,_/ /_/\_\ G N U g e n e r a t i o n . . ----------------------------------------------------------------------- _______________________________________________ Sdcc-user mailing list Sdc...@li... http://lists.sourceforge.net/mailman/listinfo/sdcc-user |