View unanswered posts | View active topics It is currently Fri Dec 15, 2017 11:16 am



Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Ayuda con firmware 
Author Message
QFP80 - Contributor

Joined: Fri Apr 04, 2008 1:26 am
Posts: 31
Hi
i follow the Andy´s directions
but i have new issue



Image

my board take 61mA
and when i power up the thing, the cel led, and hsd led are powered

best regrads


Tue May 24, 2016 4:42 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Well, that's good! Your CPU is alive and telling us what it is. Your board draws what I remember my boards drawing, roughly. Also good. Failed erase! A few suggestions:

1) Try other options for type of erase
2) Ensure you have good power to it, erase takes all of the current, writing is easy

Now you just have to beat the USBDM software, and you'll be away laughing! :-)

Close! Keep at it! :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Tue May 24, 2016 6:12 am
Profile WWW
QFP80 - Contributor

Joined: Fri Apr 04, 2008 1:26 am
Posts: 31
Hi
I have good power,
i cant program the 9s12
:oops:


Tue May 31, 2016 9:11 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Do you have a Linux machine you could try from? Although I've had a fair bit of trouble with different versions of USBDM software, once I settle on a version, it tends to do what it's supposed to every time.

Did you try the different erase options? Did you verify that all decouple caps are on and correct and so forth? Basically any disturbance of the voltage supply due to sudden load during erase can screw up the erase. I wonder if clock issues could also screw up the erase? Might have to spend some time in the datasheet to figure that out.

I'd prefer you tried a real OS first, as it's been pretty reliable for me on Linux aside from specific bugs, and the author removing older versions, etc.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Wed Jun 01, 2016 12:35 am
Profile WWW
QFP80 - Contributor

Joined: Fri Apr 04, 2008 1:26 am
Posts: 31
Hi
yes i have a pc with ubuntu,
i try all erase options in different pc the same result
i have a bench supply capable of 20 amp and 35 v, in the oscilloscope i cant see any appreciable voltage drop
i need to admit i only use ubuntu to surf the net
best regards


Wed Jun 01, 2016 2:46 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Different PC or different OS on a different PC? Time to start using ubuntu for more than browsing! :-)

Re voltage drop, I meant local to the CPU pins, not at the input to the thing, not even at the output of the regulator.

What if you try NOT powering it with your bench, and ONLY from USB through the USBDM?

Which exact version of the USBDM stuff have you got? And could you try newer or older variants of it? (might require firmware upgrade in the USBDM).

Clutching at straws here, but you're getting data back from the CPU, so you must be close. If I had to bet, I'd bet software or power issues.

Sorry that you're having so much trouble with it!

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Wed Jun 01, 2016 11:28 am
Profile WWW
QFP80 - Contributor

Joined: Fri Apr 04, 2008 1:26 am
Posts: 31
Hi
different pc , and different os
i will measure the voltage at cpu pins
the same result with power only with usbdm
i test with version 4.9.5b and 4.12.1 and i do the firmware upgrade
ok i need help to use ubuntu and loader
exist a pre compiled loader? to use in ubuntu

punto aparte
los mecanicos de Mexico amigos mios no se entienden bien con las computadoras
para que este gran proyecto tuyo cresca mas necesitas hacerlo mas amigable
aqui en Mexico ya se empiesa a usar la M$, me gustaria que fuera mas la freeEMS
si me comprendes
best regards
mi amigo


Wed Jun 01, 2016 2:27 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
I'm still not clear that the "different OS" was Linux, or not. To me Windows 2000 and Windows 10.1 are much the same thing, not different ;-)

I have always used precompiled binaries from the author of USBDM, however I have had some issues using 64 bit stuff IIRC. Yes, my binary on this laptop is 32 bit, and refers to 32 bit libraries:

Code:
fred@falcon:~/wilsons.dispute$ ldd `which HCS12_FlashProgrammer`
   linux-gate.so.1 (0xf7759000)
   libusbdm.so.4 => /usr/lib/i386-linux-gnu/usbdm/libusbdm.so.4 (0xf7747000)
   libusbdm-tcl.so.4 => /usr/lib/i386-linux-gnu/usbdm/libusbdm-tcl.so.4 (0xf772f000)
   libwx_gtk2u_adv-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_adv-2.8.so.0 (0xf7645000)
   libwx_gtk2u_core-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_gtk2u_core-2.8.so.0 (0xf72a7000)
   libwx_baseu-2.8.so.0 => /usr/lib/i386-linux-gnu/libwx_baseu-2.8.so.0 (0xf7148000)
   libxerces-c-3.1.so => /usr/lib/i386-linux-gnu/libxerces-c-3.1.so (0xf6dc3000)


Code:
fred@falcon:~/wilsons.dispute$ file `which HCS12_FlashProgrammer`
/usr/bin/HCS12_FlashProgrammer: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xfa454e5e7c8feee6331d1e84e5cf76a112e567cc, stripped


"DLL Ver 4.10.6.250"

Image



Download the .deb file for your bitness (32 or 64) and dpkg -i that file as root. Then apt-get install -f to fix the missing dependencies. There are debs available for 4.10.6 and 4.12.1 but it's a bit messy, many debs per version... this guy isn't great with release semantics... and using SourceForge? Not ideal.


Y lost restos: De acuerdo, pero tu eres "taking the hard road" (because of import duty reasons? or fun reasons?)

Once you get past this part of the build, it'll still suck, and then your above comments will be perfectly valid, and I'm working on it, I promise.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Wed Jun 01, 2016 11:37 pm
Profile WWW
QFP80 - Contributor

Joined: Fri Apr 04, 2008 1:26 am
Posts: 31
HI
different os i mean
laptop with windows and ubuntu
and desktop with windows

i will follow you directions on ubuntu

"(because of import duty reasons? or fun reasons?)" both because 1 dollar = 20 pesos :o , and i love electronics , in my past work i learn to solder a BGA by hand and better than machines
regrads


Thu Jun 02, 2016 12:36 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Depends: libwxgtk2.8-0, libwxbase2.8-0, libgcc1, libstdc++6, libxerces-c3.1, libc6, tcl

If it won't start after you do the apt-get install -f please paste the error here and I'll explain what's wrong and help you fix it. I say this because I THINK his dependency list (above) is incorrect/incomplete, but I'm not sure - it may just work.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Thu Jun 02, 2016 2:25 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 48 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.