|
:: Installation and Registration |
|
|
|
|
|
Subject :Registration under Vista and Windows 7..
22-10-2009 05:23:15
|
|
|
| eroltopkaya |
|
|
 |
Joined: 26-05-2009 17:10:57
Posts: 4,294,967,292
Location: |
|
|
|
|
|
|
When you register nqBASIC under Vista or Windows 7 you might get an error message.
"The path to bin/68hc12.ini is denied" or "access denied for 68hc12.ini"
Resolution: You have to be administrator when you are registering nqBASIC, even though you are administrator Vista and Windows 7 is not going to give you full permission to modify certain files under Program Files folder.
You have to go to Program Files/nqBASIC/bin/68hc12.ini file and right click on it and give to that user modify (full) permission on 68hc12.ini file.
After that you can register nqBASIC no problem.
|
IP Logged
|
|
Last Edited On: 22-10-2009 06:10:53 By eroltopkaya for the Reason |
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
01-11-2009 06:40:45
|
|
|
| ajbeal |
|
|
 |
Joined: 01-11-2009 11:18:04
Posts: 20
Location: Knoxville, TN USA |
|
|
|
|
|
|
Hi,
I followed your post and now have nqBasic successfully registered! However when I attempt to Build and Load a project I get an error message from Quickload.exe saying a registered JIT debugger is not available. It refers to cordbg.exe !a0x114c.
I'm running Vista. Any ideas on this?
Thanks,
AJ |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
04-11-2009 05:39:43
|
|
|
| eroltopkaya |
|
|
 |
Joined: 26-05-2009 17:10:57
Posts: 4,294,967,292
Location: |
|
|
|
|
|
|
Hi AJ,
That's strange I never seen this error message so far. I have been using XP, Vista and Windows 7 with nqBASIC no problem. Anyway I have some suggestions for you. Quickload.exe is a shortcut software that allows your code to compile and load directly into board in one step.
Please try these two solutions.
1) Please make sure your are using right Com port. Run nqBASIC go to Options/Editor and be sure right COM port is there under QuickLoad Settings (usually Comport 1) Try again Build and Load If you are having same problem please try below solution.
2) Instead of using Build and Load how about use only Build and use uBug12 to load your file to your target. Select Build, if your code compiles then go to Tools menu and select uBug12 A window will open at he below where is the command line ( above Monitor Active)
Type con 1 and press enter (this is your com port if you are using COM port 2 type con 2 It will sat connected Type fbulk and press enter to erase the program in the memory Type fload and press enter,.
Select your s2 file and it will load to your target.
Done Please let me know the result. |
IP Logged
|
|
Last Edited On: 05-11-2009 05:20:22 By eroltopkaya for the Reason |
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
04-11-2009 16:10:39
|
|
|
| ajbeal |
|
|
 |
Joined: 01-11-2009 11:18:04
Posts: 20
Location: Knoxville, TN USA |
|
|
|
|
|
|
My earlier post was using nqbasic ver5.5. I now have installed ver6.6 but getting different error after Build & Load. The error message is from Quickload stating "Argument 'Prompt' cannot be connected to type 'String'." When I press Details it says 'JIT debugging needs to be enabled'. When I press Continue the Erasing window or Loading Linear F8000 window pops up but never shows any progress or finishes. I am using a USB to RS232 dongle at Com 6 and the Options/Editor is set for Com 6.
I tried your suggestion #2 and all works well until I get a response from fload of 'Error: Unknown Error'.
Thanks for your help on this! |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
05-11-2009 05:09:02
|
|
|
| eroltopkaya |
|
|
 |
Joined: 26-05-2009 17:10:57
Posts: 4,294,967,292
Location: |
|
|
|
|
|
|
My Suggestion to use lower comports (COM2,COM3) sometime you will have problems if you use COM5,COM6, because of USB.
You can change your USB device comport to assign COM2. Before you do that I will suggest to delete nqBASIC totally from your computer manually. (Please save your custom code somewhere else)
1) Go to Start /All programs and nqBASIC and select uninstall nqBASIC ( we had uninstall issue with lower version nqBASIC but it fixed with newer version, however we changed some file names)
2) Go to Start Menu /All Programs and manually delete nqBASIC icons.
3) Go to Program Files and delete nqBASIC folder (you will loose your license information but you can register again)
4) There is a example codes under My Documents/My nqBASIC Projects, please delete this folder( please save any custom code you did somewhere else if you copied them in this folder, we changed some old codes to work properly, I don't want you to leave any old examples there)
Now you can go ahead and install new version again. And Register. Change your USB device virtual Comport
1) Go to My Computer right click, select Properties/Hardware and Device Manager
2) Go to Ports and open the little arrow down, you will see your USB device and assigned Virtual COM port (Your USB device must be connected to your computers USB port to see this, use always same USB port or make sure you are using right COM port)
3) Right Click on USB device and select properties
4) Go to Port Settings and select Advanced ( you will see your Virtual Port number below, assign by your computer)
5) Click drop down arrow and select COM2. If says in use next to it, don't worry go ahead and select. Now you assign COM2 to USB device. Whenever you plug that USB device to your computer it will assign COM2 for that device.
Go ahead and change same COM port under nqBASIC. Go to Options/Editor and change COM port to COM 2
You are done.
Let me know.
Also if you can I would like to see fload error message screen capture. |
IP Logged
|
|
Last Edited On: 05-11-2009 05:18:54 By eroltopkaya for the Reason |
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
07-11-2009 08:40:30
|
|
|
| ajbeal |
|
|
 |
Joined: 01-11-2009 11:18:04
Posts: 20
Location: Knoxville, TN USA |
|
|
|
|
|
|
I performed all your suggestions. I have errors with uBug12 that are inconsistent. I'm using USB because I'm on a laptop with no 9pin RS-232. I have a uBug12 screen shot I'll send if I knew how to attach it here. If you email me at ajbeal@aol.com I'll send it to you. Thanks again for helping with this. I need to resolve this and get going on some projects. Thanks! |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
16-11-2009 04:38:37
|
|
|
| eroltopkaya |
|
|
 |
Joined: 26-05-2009 17:10:57
Posts: 4,294,967,292
Location: |
|
|
|
|
|
|
Hi Aj,
Please copy/paste the text content of the Ubug12 screen and post it here.
"It sounds like it may be an intermittent communication problem."
|
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
18-11-2009 02:34:24
|
|
|
| ajbeal |
|
|
 |
Joined: 01-11-2009 11:18:04
Posts: 20
Location: Knoxville, TN USA |
|
|
|
|
|
|
Here's the text of the uBug12 screen. (sorry I didn't provide this earlier)
>con 2
CONNECTED
>device
MC9S12C32 Rev 1.0
>device
Error: Read Error: Timeout Error
>device
MC9S12C32 Rev 1.0
>device
MC9S12C32 Rev 1.0
>rd
Error: Read Error: Timeout Error
>rd
PP PC SP X Y D = A:B CCR = SXHI NZVC
00 FFFF 4000 0000 0000 00:00 1101 0000
>rd
Error: Unknown Error
>rd
Error: Unknown Error
>fbulk
>fload ;b
Error: Command Not Recognized
I'm thinking of timing issues with the USB-RS232 dongle. I've heard they can be a source of communication problems. I'll try to learn more about their issues.
Thanks... |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
18-11-2009 02:58:57
|
|
|
| ajbeal |
|
|
 |
Joined: 01-11-2009 11:18:04
Posts: 20
Location: Knoxville, TN USA |
|
|
|
|
|
|
Also, I have no serial flow control enabled at the laptop for com2. I'll turn on XON/XOFF and let you know the results.
Regards |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
24-11-2009 06:53:08
|
|
|
| ajbeal |
|
|
 |
Joined: 01-11-2009 11:18:04
Posts: 20
Location: Knoxville, TN USA |
|
|
|
|
|
|
I set my com port for XON/XOFF flow control with no improvement in my intermittent communication problem. I messed with the UART timing for tx and rx and still no apparent improvement. I'm stumped and all out of ideas. Any more thoughts on this? Regards |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
25-11-2009 04:07:14
|
|
|
| carl |
|
|
 |
Joined: 27-05-2009 10:51:54
Posts: 17
Location: Toronto |
|
|
|
|
|
|
AJ,
I see the same errors you reported whenever I forget to close my terminal program (TeraTermPro) before doing a Build and Load in nqBASIC. Also, when I open a project (or create a new one) without setting the COM port number in Options/Editor, I get similar error messages. Unfortunately, the default comport in nqBASIC is blank, so you have to make sure to set it to something before doing Build and Load.
By the way, you don't need to mess with XON/XOFF, etc. If you use the Build and Load feature of nqBASIC, the settings are taken care of automatically.
Carl |
IP Logged
|
|
Last Edited On: 27-11-2009 17:43:08 By carl for the Reason |
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
29-11-2009 11:53:03
|
|
|
| ajbeal |
|
|
 |
Joined: 01-11-2009 11:18:04
Posts: 20
Location: Knoxville, TN USA |
|
|
|
|
|
|
Carl,
Thanks for your response. The short story is; I revived an older laptop with a 'real' RS-232 com port, installed nqBASIC, tried uBug12 and IT WORKS properly!
However, when using the 'real' RS-232 port I do get an 'Error: Flash/EEPROM Error' after the fload ;b NC12demo.s19 process. However the device (NCmodule) appears to operate properly in run mode. Interestingly this is true for all three NCmodules I'm trying (1 NC24dip, 2 NC32dip). I assume I may have damaged the Flash/EEPROM memory in all three devices while messing with the usb dongle. Also, one of the modules does not respond to the uBug12 device command, but otherwise seems to operate its demo properly.
I then tried nqBASIC to build and load and all worked properly!
Conclusion: my new USB-RS-232 dongle does not work with uBug12. A laptop with a 'real' RS-232 comp port works properly.
Here's the long response to your post related to the USB issues. The uBug12 error text I posted to this forum was from uBug12 only and not from nqBASIC; i.e I was not using nqBASIC except to manually open Tools-uBug12. Also, I did not have a terminal program running prior to opening nqBASIC or uBug12. In other words, I was using uBug12 alone (without nqBASIC) as a troubleshooting aid to see if it would communicate properly with a NanoCore module.
nqBASIC ComPort assignment - if I connect my USB-serial dongle before opening nqBASIC, I find the comport number in nqBASIC is automatically assigned to the proper USB dongle port number. As you say, if I open nqBASIC before I connect the USB dongle, I find the comport in nqBASIC blank. It seems to me I should have success with uBug12 manually regardless of the nqBASIC settings.
I opened uBug12.exe without opening nqBASIC and tried to communicate with a NCmodule; had similar various error messages. Sometimes I can get as far as a successful fbulk, but ALWAYS after a fload or fload ;b I get an error messages. I am attempting to load the TechArts demo S19 for the specific NCmodule. I tried two other modules with same/similar results.
Anyway, I'm working now on the 'real' com port.
I greatly appreciate your assistance in this matter. I'm not going to waste any more time with the USB again. I'm going to move forward and get some backlogged NanoCore projects going. Thanks again!
Best Regards,
AJ |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
01-12-2009 04:31:51
|
|
|
| carl |
|
|
 |
Joined: 27-05-2009 10:51:54
Posts: 17
Location: Toronto |
|
|
|
|
|
|
AJ, I'm glad to hear you've found a way to get back on track! There's one comment I'd like to add, regarding the 'Error: Flash/EEPROM Error' message. The reason you see this message is that the file you are trying to load (NC12demo.s19) includes the serial monitor code in addition to the demo code. Since your module already has the serial monitor code (in a protected block of flash), uBug12 correctly reports the error, because it's unable to program anything into the protected block. And by the time you get that error, uBug12 has already successfully loaded the demo portion of the file, so that's why the demo works correctly. Conclusion: there's nothing wrong with your modules!
By the way, that .s19 file was meant for loading into a blank chip, using a BDM pod-- that's why the serial monitor is included. If you open the .s19 file with NotePad and delete all the monitor's s1 records, the error message will go away. The monitor starts at address 0xF800, so look for the line starting with: S123F800 and delete that line, plus all subsequent lines of s1 records. Be sure to leave the last line of the file intact-- the s9 record is the terminating record, which lets uBug12 know there are no more s1 records to program.
Carl |
IP Logged
|
|
Last Edited On: 01-12-2009 04:33:51 By carl for the Reason |
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
01-01-2010 20:05:32
|
|
|
| va3ean |
|
|
 |
Joined: 01-01-2010 03:17:30
Posts: 1
Location: |
|
|
|
|
|
|
I have not read thru the above thread in detail, but the following may be pertinant.
Not all USB TO SERIAL ADAPTOR UART's will detect a break ascii code reliably. I had a similiar problem with communiations with JBUG11 to a 68hc11 system a few years ago, using a laptop and USB TO SERIAL adapter. I finally changed the adapter to a different brand, and the problem went away.
From what I remember, the Jbug11 uses a talker to take over control of the MCU, but first the MCU sends a break to the PC host. The PC host then replies with a $FF then sends the talker. This break/$ff dialog somehow sets the baud rate correctly for HOST TO MCU communication. If the USB TO RS232 adapter does not detect a break correctly, this communication does not get established. |
IP Logged
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
28-04-2010 15:25:00
|
|
|
|
|
|
|
|
Subject :Re:Registration under Vista and Windows 7..
28-04-2010 15:25:53
|
|
|
| ajbeal |
|
|
 |
Joined: 01-11-2009 11:18:04
Posts: 20
Location: Knoxville, TN USA |
|
|
|
|
|
|
Oops, make that www.bb-elec.com |
IP Logged
|
|
|
|
|