Spudmn's Puma board build

All home-built FreeEMS implementations without a forum of their own, usually TA-based.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Spudmn's Puma board build

Post by Fred »

So you think we failed that night, do you? If so, I'm sorry! :-(
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!
User avatar
Spudmn
LQFP112 - Up with the play
Posts: 232
Joined: Thu Feb 10, 2011 12:27 am
Location: Auckland, NZ

Re: Spudmn's Puma board build

Post by Spudmn »

I'm sure it worked that night.

At least if I make a USBDM I can program some simple code and check things out.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Spudmn's Puma board build

Post by Fred »

Spudmn wrote:I still don’t have any output on the Uart Tx. I am waiting on a replacement FTDI chip today and I will try and test the boot loader.
Wait a second here! You won't get any output on the UART unless the firmware is running. If you don't have the PNP mod it will not run, that simple. Pull the RX line high with a 1k and without any comm chips and try again with the load/run pin in the correct state too. I bet you it spews out bytes on the TX line if you do that. If not, then you need to try the boot loader send and response test instead. We burned firmware to it, though, so if you put those two pins in the right state, and we didn't fail, then it will spew data.
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!
User avatar
Spudmn
LQFP112 - Up with the play
Posts: 232
Joined: Thu Feb 10, 2011 12:27 am
Location: Auckland, NZ

Re: Spudmn's Puma board build

Post by Spudmn »

Pull the RX line high with a 1k and without any comm chips and try again with the load/run pin in the correct state too.
I tried that the other day. With no luck. :(
User avatar
Spudmn
LQFP112 - Up with the play
Posts: 232
Joined: Thu Feb 10, 2011 12:27 am
Location: Auckland, NZ

Re: Spudmn's Puma board build

Post by Spudmn »

I got the dual MAP sensors hooked up today. I used a  Denso: 079800-1691. The same as Sims viewtopic.php?f=3&t=1263

I connected the Denso to the AAP. I have not changed any of the tables yet.

I captured 2 logs.One with the existing sensor and the Denso connected to one intake with a T joint. I wanted to compare the 2 sensors.

I then got a log with the existing sensor connected to one intake and the Denso connected to the other.
2_map_sensors_both_on_same.bin.bz2
(50.52 KiB) Downloaded 955 times
2_map_sensors_on_different.bin.bz2
(53.11 KiB) Downloaded 959 times
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Spudmn's Puma board build

Post by Fred »

"I have not changed any of the tables yet." and "I wanted to compare the 2 sensors." contradict each other :-)

The patterns match in both files, though the calibration doesn't. Any reason why you didn't put appropriate calibration in place first?

I would have expected the two runners to show a non-matching signal. How odd. Do you have any theory to explain that?

I have some hacks in mind to get a better idea of what's going on. We should talk to discuss.

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!
User avatar
Spudmn
LQFP112 - Up with the play
Posts: 232
Joined: Thu Feb 10, 2011 12:27 am
Location: Auckland, NZ

Re: Spudmn's Puma board build

Post by Spudmn »

The patterns match in both files, though the calibration doesn't. Any reason why you didn't put appropriate calibration in place first?
I was running out of time. I may be very busy at work for the next few weeks and I wanted to get some logs posted.
"I have not changed any of the tables yet." and "I wanted to compare the 2 sensors." contradict each other :-)
I wanted to compare the wave form and I realised that the values would be wrong but at least I could test my set up.
I would have expected the two runners to show a non-matching signal. How odd. Do you have any theory to explain that?
I agree that it is very odd. Not what I expected at all. I will need to think about this more.
I have some hacks in mind to get a better idea of what's going on. We should talk to discuss.
OK I will try to find some time to talk to you.
User avatar
Spudmn
LQFP112 - Up with the play
Posts: 232
Joined: Thu Feb 10, 2011 12:27 am
Location: Auckland, NZ

Re: Spudmn's Puma board build

Post by Spudmn »

I managed to get my USBDM working. I found that it was important to install the windows software in the correct order.

I found that installing them in this order worked for me.
CodeWarrior: CW_HC12_v5.1_SPECIAL.exe
PE Micro’s free Unsecure-12: unsecure12_install.exe
USBDM: USBDM_4_9_5b_Win.msi

I then followed the instructions in FreeEMS-Workstation-Howto.pdf to set up the HiWave debugger installed with CodeWarrior.

It looked like it everything programmed and verified correctly.
I still couldn’t get the log messages coming out the USB so I will need to look into that. I think it is a problem with the PLL still.

At least now I can write debug code to test things.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Spudmn's Puma board build

Post by Fred »

Good progress! :-)
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!
Post Reply