Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX not driving reset line during download #63

Open
whaleygeek opened this issue Sep 18, 2021 · 2 comments
Open

OSX not driving reset line during download #63

whaleygeek opened this issue Sep 18, 2021 · 2 comments

Comments

@whaleygeek
Copy link

Hi there,

Using MacOSX 10.10.5, PropellerIDE 0.38.5-amd64 (also tried 0.33.3-amd64).

When I press the LOAD or RUN buttons, I get a box pop up and quickly disappear that says in red 'ERROR: Download timed out'.

I put a scope on the prop plug to my Propeller Proto Board and there was no evidence of the RES line being pulled low (trigger setup on scope for falling edge, never triggered).

If I randomly pressed the reset button on the Propeller Proto Board, I managed to get the PropellerIDE to write to RAM and then EEPROM, verify passes, and then the board runs (blinky) as expected. Reset board and the code still runs (so it clearly wrote to EEPROM as well as RAM).

I have tried a prop clip, a prop plug, and a FTDI-TTL-3V3-WE and they all behave in the same way.

It's quite fraught to press the physical reset button at the same time so I don't yet have a reliable downloader.

Any workarounds I can use?

Thanks. Having been an early adopter of Prop and built commercial products with it years ago (on Windows with BST) and only recently dusted off the boards and started using it with my Mac, the IDE looks great - just wish I could get this download to work.

@whaleygeek whaleygeek changed the title OSX not driving reset line OSX not driving reset line during download Sep 18, 2021
@whaleygeek
Copy link
Author

I have found some knowledge here about DTR control (or lack of it) in earlier OSX releases.

https://forums.parallax.com/discussion/166516/propelleride-on-macos-with-ftdi-and-other-issues

It sounds like I need to check this very carefully again (though I recall doing so with Sierra even) because Apple's driver for FTDI devices did not include support for DTR control; an important requirement for programing Propeller's and BASIC Stamps.

@whaleygeek
Copy link
Author

Okay, so I think I have solved this myself.

I tried to download the VCP drivers from FTDI for the 10.10 OSX, but the downloaded file reported that it had nothing inside it (!)

So, I read around a bit and discovered that SimpleIDE had FTDI drivers built in, and installed them at install time. Some people say this is bad news for the later OSX versions, but I took a view that my 10.10 is quite old and about the same vintage as SimpleIDE.

So, I installed SimpleIDE and rebooted (it crashed, I had to power cycle), then verified with CoolTerm that my existing FTDI leads were still working (yes they were, phew!)

I then ran the PropellerIDE (not SimpleIDE) and managed to successfully load a .spin program onto my Propeller Proto Board.

My advice to people would be, tread carefully and check OSX versions, and use an install process that is about the same vintage as your OS version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant