MOSI open-drain PROBLEM?

Hacking multi-tool. Get one for $30, including worldwide shipping.

Re: MOSI open-drain PROBLEM?

Postby sre71 » Fri Aug 08, 2014 4:27 pm

Hi there,

@tayken

I have downloaded your new firmware.
Honestly even before your bug fix, never I have experimented failure using SPI although there was the problem which was described.
However fine that now it's gone.
From that side for what I can understand all seems to be fine with the new release.
I have noticed your firmware is based on 6.3 release, this show the terminal performing "i" (Versioninfo/statusinfo).
Am I pushy asking what is new in there?
Thanks in advance and thank you very, very much for your fix, improvements and over all this, for sharing it!

Kindest regards,
sre71
sre71
Jr. Member
Jr. Member
 
Posts: 62
Joined: Sat Aug 06, 2011 3:29 pm

Re: MOSI open-drain PROBLEM?

Postby tayken » Sat Aug 09, 2014 2:07 am

Hello sre71,

The only difference is that I just fixed the typo luftek found:
luftek wrote:SPI.c line 42
//open drain control registers for OUTPUT pins
#define SPIMOSI_ODC BP_MISO_ODC
#define SPICLK_ODC BP_CLK_ODC
#define SPICS_ODC BP_CS_ODC

Shouldn't it be MOSI??


I didn't change anything else at this point. I'll be looking at a few things for v4, then pushing this to SVN so that it can be included in the next firmware version.
User avatar
tayken
Developer
Developer
 
Posts: 1520
Joined: Sat Dec 12, 2009 10:58 am
Location: Tokyo, Japan

Re: MOSI open-drain PROBLEM?

Postby sre71 » Sat Aug 09, 2014 5:55 am

Hi tayken,
thanks for reply.
Ok, I get it.
Well done, at least the MOSI problem is out of business now, thank you!
Due the fact somewhere somebody have already proposed solutions I'm trying to get a portable version of MPLABX in order to try to fix some old issues (viewtopic.php?f=4&t=5052&start=15).
Hoping not damage my Bus Pirate though.
Thanks for sharing!

じゃあまたね

sre71
sre71
Jr. Member
Jr. Member
 
Posts: 62
Joined: Sat Aug 06, 2011 3:29 pm

Re: MOSI open-drain PROBLEM?

Postby pcfr33k » Thu Feb 18, 2016 9:47 pm

I don't see a compiled version though in Google? Last compiled version is 2102 v6.2 beta 1? Can someone post an updated compiled version with this source code clerical error fix MISO to MOSI.

I see a compiled version was attached in this thread but what version will it display v6.3 beta1 for example? File "spi_fix.hex"

Thanks

Edited a few minutes later:

It is indeed Firmware v6.3-beta1 r2151.

Thanks
pcfr33k
Newbie
Newbie
 
Posts: 35
Joined: Fri Sep 16, 2011 4:28 pm

Previous

Return to Bus Pirate Support