Bootloader won't work on my board(It's working now)
Re: Bootloader won't work on my board
That should be OK, but verify the voltages anyway and the rest of what i said still applies.
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!
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!
Re: Bootloader won't work on my board
I Play with "stock" bootloader, SCI works fine, but baudrate is 19200. So I trace the FreeEMS bootloaderFred wrote:That should be OK, but verify the voltages anyway and the rest of what i said still applies.
0xFC96 really is the C statement "while(!(SCI0SR1 & 0x20))", when a byte was received, SCI0DRL was loaded into register A. I send 0x0d to the bootloader
The bootloader receive that byte and compare to 0x0d. Unfortunately, the byte is wrong, it's 0x8(register A)
Manually change register A from 0x8 to 0xD
At last bootloader talks to me. So I decide to change serial chip tomorrow
Re: Bootloader won't work on my board
So what you're saying is that your serial chip was broken/corrupt? Why didn't you load the full file that I linked and put it in firmware mode instead and use the packet diagnostics to determine how crappy/awesome your serial chip/wires was/are/were/is?
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!
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!
Re: Bootloader won't work on my board
It's working now. This is all about the capacitances around the MAX232 chip, I choose the wrong value 0.1uF, and I change them all to 1uF and the bootloader can respond to the FreeEMS_Loader, load the bech test S19 and I can see a lot of data out of serial port. Now I can proceed to populate other components on my board. Hope everything is fine and thanks Fred and all FreeEMSers for the sincerely helpFred wrote:So what you're saying is that your serial chip was broken/corrupt? Why didn't you load the full file that I linked and put it in firmware mode instead and use the packet diagnostics to determine how crappy/awesome your serial chip/wires was/are/were/is?
It's working, I like it
Output from FreeEMS
Last edited by HotCat on Fri Aug 17, 2012 2:35 am, edited 1 time in total.
Re: Bootloader won't work on my board
You're not the first to make that mistake! :-) Glad you got it working!
Load up a BenchTest.s19 firmware and use mtx to stimulate your port T outputs and read your inputs.
Load up a BenchTest.s19 firmware and use mtx to stimulate your port T outputs and read your inputs.
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!
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!
Re: Bootloader won't work on my board
I have difficulty to build MegaTunix on My Debian 6, is there any tutorials?Fred wrote:You're not the first to make that mistake! Glad you got it working!
Load up a BenchTest.s19 firmware and use mtx to stimulate your port T outputs and read your inputs.
Re: Bootloader won't work on my board
Try this: viewtopic.php?f=11&t=1642
Or bug Mike about EMStudio bench test tab addition. You'll likely need a newer Debian to use his app, though.
Also, you'll NEED his app for any datalogging/tuning right now as MTX is not fully compatible, and will likely break further with future updates to the firmware.
Fred.
Or bug Mike about EMStudio bench test tab addition. You'll likely need a newer Debian to use his app, though.
Also, you'll NEED his app for any datalogging/tuning right now as MTX is not fully compatible, and will likely break further with future updates to the firmware.
Fred.
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!
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!