How big is your program? When you compile to RAM your code will consume RAM which will then not available to xalloc. When you compile to flash the program is...
137
bmurthazw@...
Mar 1, 2001 6:36 pm
Andy, there is table at the label FlashData:: in the file lib/bioslib/flashwr.lib. The flash driver looks up the device here according to the manufacturer's ID...
138
Justin DeCampo
justin@...
Mar 2, 2001 3:08 am
Hi, Iam new to this group and to the Rabbit micro. I am currently writing software for a project involving the TCP/IP board but I am having problems with the...
139
Bun Fai
rifai@...
Mar 2, 2001 4:03 am
Ok, This is my testing program for RCM2020 128KB RAM . When I compiled it to RAM, I can xalloc RAM about 50KB, and for flash compiled I got 70 KB. So where...
140
bmurthazw@...
Mar 2, 2001 6:06 pm
Fai, unfortunately, the location of the flash transfer buffer was hardcoded in current releases. It's fixed for the next release to be at the top of RAM. If...
141
Andy Stephenson
andy.stephenson@...
Mar 3, 2001 3:22 pm
Hi, If I compile the bios to ram, and run my prog in ram, how can I read the product id from my flash memory? I copied the getproductID (or something named...
142
bmurthazw@...
Mar 3, 2001 8:42 pm
Andy, Are trying to verify that the product ID is 08? You should just look it up on the data sheet if you have it. SST's on-line access to full data sheets...
143
Andy Stephenson
andy.stephenson@...
Mar 4, 2001 1:46 pm
Brian, The data sheet agrees with the rabbit software. I want to find out what it is actually being read as. I will give that a go. I am assuming that I need...
144
bmurthazw@...
Mar 5, 2001 5:06 pm
The flash ID is read by the pilot BIOS before the BIOS is even compiled, so those IDs should be at 4006-4007h regardless of what the BIOS does if compiling to...
145
Andy Stephenson
andy.stephenson@...
Mar 5, 2001 5:52 pm
Brian, Thanks for that. Whilst waiting for your reply, I gave it a go, and sure enough, the ID at those locations is garbage. At least I have something to...
146
Andy Stephenson
andy.stephenson@...
Mar 5, 2001 6:00 pm
Brian, Just another quickie. How does the pilot bios control the wait states to the flash? Is it done through rabbitbios.lib? The flash I an trying to use is a...
147
bmurthazw@...
Mar 5, 2001 10:04 pm
Andy, The initial loader (coldoader.bin) sets waitstates to 4 then loads the pilot BIOS to RAM, the pilot BIOS doesn't change any MMU/MIU settings. After the...
148
Bun Fai
rifai@...
Mar 6, 2001 2:01 am
Thanks for your explanation Mr.bmurthazw rgds fai...
149
tedi@...
Mar 8, 2001 11:59 am
As luck would have it, I've got to drive 6 hours today to give a demo... I'm perplexed. As my program grew larger, it began to give problems within the 6.57...
150
tedi@...
Mar 8, 2001 12:32 pm
Phew, that was close. Turns out I still had some debugging code in there which would send to serial C, which I had since removed all initialization code for. ...
151
Andy Stephenson
andy.stephenson@...
Mar 8, 2001 1:13 pm
Ted, Nice to know the group helped you out :) even though you fixed the problem yourself in 33 minutes - not bad! I started using 6.54, but moved to 7.02, then...
152
Raman Viswanathan
raman_viswanathan@...
Mar 10, 2001 1:37 am
I am in the process of designing an embedded system using the Rabbit processor. I am familiar with the z80 hardware and especially like the software that...
153
tedi@...
Mar 12, 2001 1:19 am
Does anybody have a sample C code snippet that would allow me to set a timer and service it? I've read through the docs, and found the interrupt keyword for...
154
Darren
darrens1962@...
Mar 12, 2001 10:00 am
I have code that i had been using with Dynamic C SE and compiled to Dev TCPIP board and also to my own hardware.. I have now upgraded to Dynamic C Premier and...
155
Andy Stephenson
andy.stephenson@...
Mar 12, 2001 10:59 am
Darren, I have had this problem and Brian managed to shed some light. Just as an aside, when you encounter problems like this, then Rabbit environment is a...
156
Darren
darrens1962@...
Mar 12, 2001 11:33 am
Thanks for the reply Andy Well the BIOS compliles to RAM ok. I think it has something to do with the flash id, as we are using different flash to the TCPIP...
157
Andy Stephenson
andy.stephenson@...
Mar 12, 2001 12:17 pm
Darren, What flash are you using? I tried an SST29LE010-200-3C-NH plcc job. Never got it working. The ID that was being read was garbage. This partic device is...
158
Darren
darrens1962@...
Mar 12, 2001 12:49 pm
The flash device is ATMEL AT29C040A - 12TC TSOP strange thing is works fine with Dynamic C SE? Only big difference mem wise between TCPIP (2 x 256k) board and...
159
Charlie Krauter
ckrauter@...
Mar 12, 2001 4:59 pm
To set up an ISR in C, you can use the routine SetVectIntern(). It should be in the online Dynamic C manual. -charlie ... Charlie Krauter Software Engineer ...
160
lwood@...
Mar 12, 2001 6:32 pm
Hey, Lynn Wood from Z-World here. I may be able to shed a little more light on your flash problems... ... I'm actually working on the 512kb flash problems...
161
Andy Stephenson
andy.stephenson@...
Mar 12, 2001 9:39 pm
Hey Lynn, Nice to hear from you. Thanks for shedding some light on the problem. If I get bored, I may try and get my 200ns part running -but only if I get...
162
Darren
darrens1962@...
Mar 12, 2001 9:59 pm
Hi Lynn thanks for the info so far, did you see my original post at the start of this thread... ... I have code that i had been using with Dynamic C SE and...
163
Lynn Wood
lwood@...
Mar 12, 2001 10:42 pm
... As far as the flash driver is concerned, there's no difference between the SE and Premier versions _for a particular version of Dynamic C_. If you switched...
164
bpaddock@...
Mar 12, 2001 11:31 pm
... Has any one do any software totally free of all of the BIOS and associated headaches? Direct hardware stuff? In some of the mission critical stuff I work...
165
tedi@...
Mar 12, 2001 11:50 pm
Hi Charlie, Thanks for the pointer. Found it by typing ^H in the IDE. Doesn't seem to appear in any of the other manuals that I can find. -Ted ... should...