Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Maximite Test ver 2.5C - with serial, I/O
Page 6 of 7 | |||||
Author | Message | ||||
devigan Newbie Joined: 11/08/2011 Location: AustraliaPosts: 26 |
Hi Geoff, loaded 2.5C And I get a error msg:- (Error line 100: Expected a string) for a single line bas with 100 OPEN “COM1:4800” AS #5. It fine on console? 100 OPEN “COM1:9600” AS #5 200 PRINT #5, "0XFE" 300 PRINT #5, "0X53" 400 CLOSE #5 |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Did you use Word or WordPad to edit the program? It looks as if smart quotes were used instead of straight quotes (eg, "COM1:9600"). Geoff Geoff Graham - http://geoffg.net |
||||
Xiongmao Regular Member Joined: 25/08/2011 Location: AustraliaPosts: 48 |
All versions up to 2.5F working for me an a SM1 with putty on win7/64bit and a 5m usb lead. |
||||
sparkey Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 819 |
devigan there is latter code available there is 2.5 f try installing that .... technicians do it with least resistance |
||||
devigan Newbie Joined: 11/08/2011 Location: AustraliaPosts: 26 |
You are right, my mistake it is smart quote, I copied off your pdf. Thanks |
||||
thetinkerer Regular Member Joined: 16/06/2011 Location: AustraliaPosts: 68 |
I think I am still alone on this little/big quirk!(for me that is) First of all thanks for the latest fix Geoff. I still can't get my Maximite(> Version 2.5B) to talk on USB. I uninstalled the silicon chip driver and when I plug in the Version 2.5b Maximite, XP finds the Maximite and prompts me to install the driver and do so. - all good. After That, I uninstall the driver again. Change to version 2.5F Firmware on the Maximite and plug the maximite into th eUSB port of my PC and nothing! Very interesting problem I have. I don't have a USB 1.0 hub otherwise I would try that as suggested earlier in the postings. regards Marc |
||||
vasi Guru Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
Marc, maybe reinstalling Windows and after you put there all drivers for your motherboard and peripherals, try the last version of Maximite. That hopefully can help. Vasi Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
VK6MRG Guru Joined: 08/06/2011 Location: AustraliaPosts: 347 |
Marc, At no stage did I remove the Maximite USB driver. When I plugged in my newest Maximite (#3 from earlier post) it asked me to install the USB driver and did so as per the Maximite build instructions, and away it went. After connecting it, I started HyperTerminal and setup a session for the new Maximite and connected. As it was a new Maximite it had MMBasic Ver 2.1, I updated to 2.5b and commenced testing with the newer MMBasic versions. Again, at no stage did I remove the Maximite USB driver from Windows! All i did was change the (virtual) com port number for the USB connection. After Geoff released the 2.5f version all the issues that I was having with MMBasic versions 2.5c,d,e and HyperTerminal went away! I have no problems with any of my Maximites with Ver 2.5f. I hope this helps. Its easier to ask forgiveness than to seek permission! ............VK6MRG.............VK3MGR............ |
||||
wizard Newbie Joined: 29/07/2011 Location: United StatesPosts: 38 |
Hi All, 2.5F works ok here. Except for USB still no-go. Wiz |
||||
devigan Newbie Joined: 11/08/2011 Location: AustraliaPosts: 26 |
Hi guys me again, trying to talk to serial LCD, it works fine in arduino but with 2.5F it print all command as massage does not carried the command ie backlite on, move cusor etc.. --- 0xFe, 0x52 is backlite on. Dave |
||||
wizard Newbie Joined: 29/07/2011 Location: United StatesPosts: 38 |
Hi All, Com2 works OK also OK as console :). Control-C from com2 when running program does not interrupt program. It is probably better to leave it this way for now? Com1 works OK but as console seems to have some garbage (bad characters)on output. Input is OK. Reminds me of baud rate not quite right? Maybe interrupt related? Com 1 output characters are OK when sent from print loop program. Weak audio from monitor when running maximite. Reminds me of ham radio FSK :). Perhaps an artifact that results from using multiple interrupts? Cute trick to find pins on 100 pin package. Write small script to send characters continuously to serial port. Use audio amp with resistor to scan for where signal really is. Worked very well. Wiz |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Marc, Could you please try this version and report back: 2011-09-07_084000_Maximite_Update_X.zip It has been modded to poll the USB extremely fast and should determine if the polling speed is a factor. Others should not try it as it will run programs very slow - it is for testing only. Geoff Geoff Graham - http://geoffg.net |
||||
sparkey Senior Member Joined: 15/06/2011 Location: AustraliaPosts: 819 |
weell i have this in hyp term on comm2 baud 9600 Maximite BASIC Version 2.5X Copyright 2011 Geoff Graham 10 print "2.5 X" > run 2.5 X > regards sparkey technicians do it with least resistance |
||||
thetinkerer Regular Member Joined: 16/06/2011 Location: AustraliaPosts: 68 |
Hi Geoff, I have loaded Version 2.5X and still no go. Just to confirm that the USB driver is still ok on my pc, I loaded V2.5B firmware and all was good. Thanks for your efforts. Marc |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
I cannot believe that this is so stubborn Sorry to do this to you Marc but could you try this version: 2011-09-07_221843_Maximite_Update_Y.zip There must be an answer somewhere. Geoff Geoff Graham - http://geoffg.net |
||||
boochip Newbie Joined: 07/09/2011 Location: IrelandPosts: 1 |
Hi all it might be worth downloading "USBDeview" it will let you see whats connected usb wise you can also uninstall all instances of the maximite from windows memory. useful little program when dealing with usb. |
||||
jebz Regular Member Joined: 13/06/2011 Location: AustraliaPosts: 79 |
Geoff can you code a sync pulse on a port pin into the USB communications code. This will assist in triggering a cro to view the usb data exchange. One thing to note is the USB works in the boot loader for all these times but the firmware revision >2.5B has a change in operation. |
||||
wizard Newbie Joined: 29/07/2011 Location: United StatesPosts: 38 |
Hi Geoff, update-Y works OK here. Pretty much the same. USB "may" be trying to work? lsusb response (knoppix 5.0.1) seems to have changed some. Could you please include .elf file (with symbols) with the .hex if it's easy? I have been building stuff to interface to max using the symbol table. Thanks, Wiz |
||||
thetinkerer Regular Member Joined: 16/06/2011 Location: AustraliaPosts: 68 |
AHHHHHHHH! - Still no go with V2.5Y on the USB Geoff. This must be driving you nuts. After each attempt, I load 2.5B just to make sure it still works and it does. thanks Marc |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Yes, this is frustrating. Versions after 2.5B had only two changes as far as the USB was concerned. The USB polling was moved from the video horiz sync interrupt (every 30uS) to its own timer and interrupt where I could better control the polling period. Ver 2.5Y was set to poll every 20uS, so that cannot be the cause. The other change was to increase the transmit buffer size and double buffer the output but as your setup never gets to send (it seems to fail in enumeration) so that cannot be the cause also. The bootloader includes its own mini USB stack and that has not changed so that explains why it continues to run. I am not sure that the other suggestions like watching the USB on an oscilloscope will work as it is impossible to decipher a USB conversation that way. Give me a little while to think about it and try to figure out another approach. The most frustrating part is that all my setups work so I have to test this by messing you around. By the way, thanks for you efforts Marc... you make a good "test subject" !! Wiz, this is the elf file for 2.5Y - not sure that it will help: 2011-09-08_090042_Output.zip Geoff Geoff Graham - http://geoffg.net |
||||
Page 6 of 7 |
Print this page |