BDM for linux

Started by "Jim...@googlemail.com [68HC12]" December 1, 2016
Hi Guys

I feel like I've come full circle.

Last year I asked if any one had successfully managed to get a eeprom
burner for HCS12 to work in linux.

I'm back at again this year, if you've managed to get it working, could you
let me know what programs you use and what bdm?

I'm currently doing all the development work on linux, then copying it all
across to windows and running NoIce debugger to load the prom.

Thanks
Jim
I have NoICE debugger running under SuSE linux, would that help?

Nigel

On 12/01/16 05:48, Jim Alcock j...@googlemail.com [68HC12] wrote:
> Hi Guys
>
> I feel like I've come full circle.
>
> Last year I asked if any one had successfully managed to get a eeprom burner for HCS12 to work in linux.
>
> I'm back at again this year, if you've managed to get it working, could you let me know what programs you use and what bdm?
>
> I'm currently doing all the development work on linux, then copying it all across to windows and running NoIce debugger to load the prom.
>
> Thanks
> Jim
>

--
Nigel Johnson
MSc., MIEEE
VE3ID/G4AJQ/VA3MCU

Amateur Radio, the origin of the open-source concept!

You can reach me by voice on Skype: TILBURY2591

If time travel ever will be possible, it already is. Ask me again yesterday

This e-mail is not and cannot, by its nature, be confidential. En route from me to you, it will pass across the public Internet, easily readable by any number of system administrators along the way.

Please consider the environment when deciding if you really need to print this message
Hi Nigel

Yes any docs on how you got this to work would be great.

Thanks
Jim

On 1 December 2016 at 10:52, Nigel Johnson MIEEE n...@ieee.org
[68HC12] <6...> wrote:

> I have NoICE debugger running under SuSE linux, would that help?
>
> Nigel
>
> On 12/01/16 05:48, Jim Alcock j...@googlemail.com [68HC12] wrote:
> Hi Guys
>
> I feel like I've come full circle.
>
> Last year I asked if any one had successfully managed to get a eeprom
> burner for HCS12 to work in linux.
>
> I'm back at again this year, if you've managed to get it working, could
> you let me know what programs you use and what bdm?
>
> I'm currently doing all the development work on linux, then copying it all
> across to windows and running NoIce debugger to load the prom.
>
> Thanks
> Jim
> --
> Nigel Johnson
> MSc., MIEEE
> VE3ID/G4AJQ/VA3MCU
>
> Amateur Radio, the origin of the open-source concept!
>
> You can reach me by voice on Skype: TILBURY2591
>
> If time travel ever will be possible, it already is. Ask me again yesterday
>
> This e-mail is not and cannot, by its nature, be confidential. En route from me to you, it will pass across the public Internet, easily readable by any number of system administrators along the way.
> Please consider the environment when deciding if you really need to print this message
Here is a copy of an exchange between me and John Hartman where he tells how NoICE evaluates ports and I tell how got it to work under linux with wine and mono:

> NoICE for Windows dates from 1997, and uses the old-school 1997-vintage way to open serial ports: Win32's CreateFile.
>
> Up until a few years ago, the "file" name opened was just "COMx" . But that only works up to COM9. So NoICE still uses CreateFile, but the filename is now "\\.\COMx"
>
> The list of available ports is obtained by reading from the Registry HKEY_LOCAL_MACHINE, "HARDWARE\DEVICEMAP\SERIALCOMM"
> At 01:35 PM 2/17/2014, Nigel Johnson Work wrote:
> After many more hours of seeking, I found this:
>
> http://wine-wiki.org/index.php/Wine_Registry
>
> where it says:
> "Ben reported Jan 09: After doing a bunch of research and tweaking, I figure out that I need to add the following to my ~/.wine/system.reg:
>
> [Hardware\\Devicemap\\Serialcomm] 1231984861 @=""
> "Serial0"="COM1"
> "Serial1"="COM2"
> "Serial2"="COM3"
>
> etc, etc, "
>
> After I did that, I can successfully use NoICE under linux!
>
> cheers,
> Nigel
Since the above link no longer works, you can use this:

https://www.downtowndougbrown.com/2013/03/getting-x-ctu-in-wine-to-detect-your-serial-ports/

Perhaps if that works you could update the procedure with new links and post back to the group: I am not doing any 9S12 development these days so may be a little out of touch.

cheers,
Nigel

On 12/01/16 06:22, Jim Alcock j...@googlemail.com [68HC12] wrote:
> Hi Nigel
>
> Yes any docs on how you got this to work would be great.
>
> Thanks
> Jim
>
> On 1 December 2016 at 10:52, Nigel Johnson MIEEE n...@ieee.org [68HC12] <6...



















































It's possible that OSBDM is supported on linux.Look into CodeWarrior for Microcontrollers v10.1 as it runs on linux.CodeWarrior for Microcontrollers v10.1|NXP

|
|
|
| | |

|

|
|
| |
CodeWarrior for Microcontrollers v10.1|NXP
New functionality including support for new devices can be added to CodeWarrior | |

|

|

USBDM: USBDM (combined TBDML/OSBDM code) for JB16 (Obsolete)
I have some older USBDMs kicking around.

|
| |
USBDM: USBDM (combined TBDML/OSBDM code) for JB16 (Obsolete)
| |

|

On Thursday, December 1, 2016 7:37 AM, "Nigel Johnson MIEEE n...@ieee.org [68HC12]" <6...> wrote:

  Here is a copy of an exchange between me and John Hartman where he tells how NoICE evaluates ports and I tell how got it to work under linux with wine and mono:

NoICE for Windows dates from 1997, and uses the old-school 1997-vintage way to open serial ports: Win32's CreateFile.

Up until a few years ago, the "file" name opened was just "COMx" . But that only works up to COM9. So NoICE still uses CreateFile, but the filename is now "\\.\COMx"

The list of available ports is obtained by reading from the Registry HKEY_LOCAL_MACHINE, "HARDWARE\DEVICEMAP\SERIALCOMM"
At 01:35 PM 2/17/2014, Nigel Johnson Work wrote:
After many more hours of seeking, I found this:

http://wine-wiki.org/index.php/Wine_Registry

where it says:
"Ben reported Jan 09: After doing a bunch of research and tweaking, I figure out that I need to add the following to my ~/.wine/system.reg:

[Hardware\\Devicemap\\Serialcomm] 1231984861 @=""
"Serial0"="COM1"
"Serial1"="COM2"
"Serial2"="COM3"

etc, etc, "

After I did that, I can successfully use NoICE under linux!

cheers,
Nigel
Since the above link no longer works, you can use this:

https://www.downtowndougbrown.com/2013/03/getting-x-ctu-in-wine-to-detect-your-serial-ports/

Perhaps if that works you could update the procedure with new links and post back to the group: I am not doing any 9S12 development these days so may be a little out of touch.

cheers,
Nigel

On 12/01/16 06:22, Jim Alcock j...@googlemail.com [68HC12] wrote:

  Hi Nigel

Yes any docs on how you got this to work would be great.

Thanks
Jim

On 1 December 2016 at 10:52, Nigel Johnson MIEEE n...@ieee.org [68HC12] <6...> wrote:

  I have NoICE debugger running under SuSE linux, would that help? Nigel

On 12/01/16 05:48, Jim Alcock j...@googlemail.com [68HC12] wrote:

  Hi Guys

I feel like I've come full circle.

Last year I asked if any one had successfully managed to get a eeprom burner for HCS12 to work in linux.

I'm back at again this year, if you've managed to get it working, could you let me know what programs you use and what bdm?

I'm currently doing all the development work on linux, then copying it all across to windows and running NoIce debugger to load the prom.

Thanks
Jim

--
Nigel Johnson
MSc., MIEEE
VE3ID/G4AJQ/VA3MCU

Amateur Radio, the origin of the open-source concept!

You can reach me by voice on Skype: TILBURY2591

If time travel ever will be possible, it already is. Ask me again yesterday

This e-mail is not and cannot, by its nature, be confidential. En route from me to you, it will pass across the public Internet, easily readable by any number of system administrators along the way.

Please consider the environment when deciding if you really need to print this message

--
Nigel Johnson
MSc., MIEEE
VE3ID/G4AJQ/VA3MCU

Amateur Radio, the origin of the open-source concept!

You can reach me by voice on Skype: TILBURY2591

If time travel ever will be possible, it already is. Ask me again yesterday

This e-mail is not and cannot, by its nature, be confidential. En route from me to you, it will pass across the public Internet, easily readable by any number of system administrators along the way.

Please consider the environment when deciding if you really need to print this message

#yiv4131284346 #yiv4131284346 -- #yiv4131284346ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv4131284346 #yiv4131284346ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv4131284346 #yiv4131284346ygrp-mkp #yiv4131284346hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv4131284346 #yiv4131284346ygrp-mkp #yiv4131284346ads {margin-bottom:10px;}#yiv4131284346 #yiv4131284346ygrp-mkp .yiv4131284346ad {padding:0 0;}#yiv4131284346 #yiv4131284346ygrp-mkp .yiv4131284346ad p {margin:0;}#yiv4131284346 #yiv4131284346ygrp-mkp .yiv4131284346ad a {color:#0000ff;text-decoration:none;}#yiv4131284346 #yiv4131284346ygrp-sponsor #yiv4131284346ygrp-lc {font-family:Arial;}#yiv4131284346 #yiv4131284346ygrp-sponsor #yiv4131284346ygrp-lc #yiv4131284346hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv4131284346 #yiv4131284346ygrp-sponsor #yiv4131284346ygrp-lc .yiv4131284346ad {margin-bottom:10px;padding:0 0;}#yiv4131284346 #yiv4131284346actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv4131284346 #yiv4131284346activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv4131284346 #yiv4131284346activity span {font-weight:700;}#yiv4131284346 #yiv4131284346activity span:first-child {text-transform:uppercase;}#yiv4131284346 #yiv4131284346activity span a {color:#5085b6;text-decoration:none;}#yiv4131284346 #yiv4131284346activity span span {color:#ff7900;}#yiv4131284346 #yiv4131284346activity span .yiv4131284346underline {text-decoration:underline;}#yiv4131284346 .yiv4131284346attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv4131284346 .yiv4131284346attach div a {text-decoration:none;}#yiv4131284346 .yiv4131284346attach img {border:none;padding-right:5px;}#yiv4131284346 .yiv4131284346attach label {display:block;margin-bottom:5px;}#yiv4131284346 .yiv4131284346attach label a {text-decoration:none;}#yiv4131284346 blockquote {margin:0 0 0 4px;}#yiv4131284346 .yiv4131284346bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv4131284346 .yiv4131284346bold a {text-decoration:none;}#yiv4131284346 dd.yiv4131284346last p a {font-family:Verdana;font-weight:700;}#yiv4131284346 dd.yiv4131284346last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv4131284346 dd.yiv4131284346last p span.yiv4131284346yshortcuts {margin-right:0;}#yiv4131284346 div.yiv4131284346attach-table div div a {text-decoration:none;}#yiv4131284346 div.yiv4131284346attach-table {width:400px;}#yiv4131284346 div.yiv4131284346file-title a, #yiv4131284346 div.yiv4131284346file-title a:active, #yiv4131284346 div.yiv4131284346file-title a:hover, #yiv4131284346 div.yiv4131284346file-title a:visited {text-decoration:none;}#yiv4131284346 div.yiv4131284346photo-title a, #yiv4131284346 div.yiv4131284346photo-title a:active, #yiv4131284346 div.yiv4131284346photo-title a:hover, #yiv4131284346 div.yiv4131284346photo-title a:visited {text-decoration:none;}#yiv4131284346 div#yiv4131284346ygrp-mlmsg #yiv4131284346ygrp-msg p a span.yiv4131284346yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv4131284346 .yiv4131284346green {color:#628c2a;}#yiv4131284346 .yiv4131284346MsoNormal {margin:0 0 0 0;}#yiv4131284346 o {font-size:0;}#yiv4131284346 #yiv4131284346photos div {float:left;width:72px;}#yiv4131284346 #yiv4131284346photos div div {border:1px solid #666666;height:62px;overflow:hidden;width:62px;}#yiv4131284346 #yiv4131284346photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv4131284346 #yiv4131284346reco-category {font-size:77%;}#yiv4131284346 #yiv4131284346reco-desc {font-size:77%;}#yiv4131284346 .yiv4131284346replbq {margin:4px;}#yiv4131284346 #yiv4131284346ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv4131284346 #yiv4131284346ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv4131284346 #yiv4131284346ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv4131284346 #yiv4131284346ygrp-mlmsg select, #yiv4131284346 input, #yiv4131284346 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv4131284346 #yiv4131284346ygrp-mlmsg pre, #yiv4131284346 code {font:115% monospace;}#yiv4131284346 #yiv4131284346ygrp-mlmsg * {line-height:1.22em;}#yiv4131284346 #yiv4131284346ygrp-mlmsg #yiv4131284346logo {padding-bottom:10px;}#yiv4131284346 #yiv4131284346ygrp-msg p a {font-family:Verdana;}#yiv4131284346 #yiv4131284346ygrp-msg p#yiv4131284346attach-count span {color:#1E66AE;font-weight:700;}#yiv4131284346 #yiv4131284346ygrp-reco #yiv4131284346reco-head {color:#ff7900;font-weight:700;}#yiv4131284346 #yiv4131284346ygrp-reco {margin-bottom:20px;padding:0px;}#yiv4131284346 #yiv4131284346ygrp-sponsor #yiv4131284346ov li a {font-size:130%;text-decoration:none;}#yiv4131284346 #yiv4131284346ygrp-sponsor #yiv4131284346ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv4131284346 #yiv4131284346ygrp-sponsor #yiv4131284346ov ul {margin:0;padding:0 0 0 8px;}#yiv4131284346 #yiv4131284346ygrp-text {font-family:Georgia;}#yiv4131284346 #yiv4131284346ygrp-text p {margin:0 0 1em 0;}#yiv4131284346 #yiv4131284346ygrp-text tt {font-size:120%;}#yiv4131284346 #yiv4131284346ygrp-vital ul li:last-child {border-right:none !important;}#yiv4131284346