|
Post by sataris on Jun 29, 2006 8:42:52 GMT 10
Instructions provided in the manual to do uploads to the development board require hex code with rom extension without suggesting an editor/assembler to generate this type of code. Even if instructions were provided, my Windows XP computer objected to uploading the sample hex code with rom extension provided in the manual. In both the Windows and Dos uploads, I received a message apologizing that the system needs to shut down and suggested I send an error message to Microsoft. Is the problem because the Futurlec software is not compatible with Windows XP operating system? Looking further into the instruction manual in a folder called User Ports, instructions are provided to install a driver to enable I/O ports on Window NT2000 computers. No mention is made of Windows XP computers. My E-Mails to Futurlec requesting alternate instructions to do the uploads have received no response from them. On my own, I have tried to get something to work using WinAvr utilities and Studio 4.1. My Makefile for Programer Notepad does not recognize the target device. I also assemble a serial cable, hoping to use Pony-Prog or Avrdude to make the uploads by using the com port on the development board. So far no success. I certainly appreciate any help that can be provided, to get me going with C and assembly code uploads. Thanks for the help.
|
|
|
Post by Bones on Jun 30, 2006 0:18:38 GMT 10
Hi, You will find you need to install userport. XP blocks the use of the I/O port. I use Studio 4 and pony prog with a makeup STK200 style dongle programmer (parallel). No problems at all. We use this same ones at work on all our devices. Select "avr ISP i/o" under "setup / Interface setup" and your all done. Just watch out for what fuses you use on Atmels. A note in the manuals says that 1's mean clear. So for say the crystal speed in the manual 110 in ponyprog mean no tick, no tick, tick. Otherwise should work Bone
|
|
|
Post by sataris on Jun 30, 2006 2:29:17 GMT 10
Will the parrellel dongle from Spark Fun Elecronics do? It kooks like I will need to make an adaption between the ICSP connector on the dongle and the PSPI connector on the dev. board. Is there an easier way? Thanks for your help.
|
|
|
Post by Bones on Jun 30, 2006 12:58:48 GMT 10
|
|
|
Post by Dingo on Jun 30, 2006 20:44:28 GMT 10
The 2313 board has its own Parallel cable.
Like Bones says, you need to run the Userports program like the instructions say (Follow the Win2000 instructions - it is similar enough to XP for this purpose).
The reason for running it is that the Windows won't allow direct access to the parallel port and user port just changes a few settings allowing direct access. It needs only to be run successfully once.
Once that is done you can use the supplied software to upload or you can use Avrdude.
I tried several applications to upload but I only ever had success with the supplied one and Avrdude. There is a GUI for avrdude now as well.
Hope you get it going.
|
|
|
Post by sataris on Jun 30, 2006 21:18:36 GMT 10
You guys are great. Instructions for openning up the user ports mentions the possibility of security penetration. My XP computer connects through TV Cable that is connected to the internet nearly all the time. Is this a concerned? I do have a slow windows ME computer I'm Hoping will also work with the connection I can come up with if there is a reason to do so. Have any information on the dongle Adafruit sells? Any advantages over Spark Fun dongle?
|
|
|
Post by Dingo on Jun 30, 2006 22:05:14 GMT 10
As long as you have an up to date firewall running (and on cable you should ) then you should be ok. Opening up the hardware ports has absolutely nothing to do with software ports - the two are completely and 100% different. No idea about Adafruit - link?
|
|
|
Post by sataris on Jul 1, 2006 5:37:32 GMT 10
Post 105 "Select "avr ISP i/o" under "setup / Interface setup" and your all done. Just watch out for what fuses you use on Atmels." Look all over the CD that came with the dev. board for the above instructions without success. Post 221 Also, I wasn't successful following the instuctions in the manual. "Run UserPort.EXEwith the driver filename and path as an argument i.e. run UserPort.EXE X:\YOURDIR\UserPort.SYS Add the addresses you want and remove the others and click on start." This is what I used using the windows run command. Error received "could not find Documents and Settings" C:\Documents and Settings\Leonard\Desktop\Sdtudio4.1\AT90S2313 Development Board CD,PSPI\Userport\UserPort\UserPort.exe C:\WINDOWS\system32\drivers\UserPort.sys I also tried running the command in Dos. No luck. Any suggestions? Thinking of ordering the parts to build a parrallel dongle. Would like to succeed opening up the I/O ports first.
|
|
|
Post by Bones on Jul 1, 2006 11:19:55 GMT 10
Ok. Are you using Pony Programmer? What is the programmer that came with the Dev board? Is it serial or Parallel? If so that is where you select "avr ISP i/o" under "setup / Interface setup". Ok thats pony done. As for Userport. just copy the userport.sys file to c:\windows\system32\drivers Run userport.exe from where ever it is and select the ports you want, click update and start. That should work. So using all this together. Use studio4, make the code, compile code to a HEX file, open pony and load that file, program. Don't worry about what I said about fuses. Your processor is an older one and they didn't have a lot of options for fuses. Try that it should work Bones
|
|
|
Post by sataris on Jul 1, 2006 20:42:58 GMT 10
I downloaded pony programmer, Studio4.1 and Winavr software when tring to find something that works. None of these software came with the dev. board. My original message explained the problem I encountered with the Furturlec board. Am ancious to used Studio 4.1 and pony prog as soon as I build a parallel programmer and open up th I/O ports. There is a pin assignment difference between the parrallel dongle and dev. boards that I can correct when I make the dongle. I think you have giving me the solutions. May need more help later. Will keep you informed. Thanks for the help.
|
|
|
Post by Bones on Jul 2, 2006 14:49:37 GMT 10
Hi, No worries. Let us know if you need anything. Alway glad to help. So where are you located. Over East (W.A's way of saying anywhere else except WA) ?
|
|
|
Post by sataris on Jul 3, 2006 5:43:59 GMT 10
Located 15 hours NE in upstate New York. I quess, that is not in WA where ever that is. By the way I suspect you or Dingo showed how to wire up a serial port connector for the Furturlec board. Does it work? What software is being used with it? Need more effort in getting my serial port to work.
|
|