I am finally able to demonstrate direct jamod control of Ifos.
As soon as I upgraded to Snow Leopard, my mastery of the hardware serial port looked decidedly unhealthy:
Here's my super-effective Ifos development workspace. It's a temporary solution, having no other place to put the new iMac. (I think Angie was a little dismayed that we needed another computer... Let's see, there's the office desktop, my laptop, my netbook, her laptop, her studio workstation, my workshop workstation, and now an iMac. What's the problem?)
My Mac OS X development tool chain for PIC is now complete. I successfully assembled my Ifos project (and by extension, my Modbus and Framework projects) on the Mac using GPUTILS, then programmed it over ICSP using pp and a K150 programmer. This was not a painless process.
For the projects I work on these days, switching to a Mac OS X-based development environment has been mostly painless. Eagle works, Java and Ruby are essentially cross-platform, and there’s always Unix just under the covers. It’s the hardware tools that have been difficult to migrate, mostly related to PIC assembly and programming.
On the PC, I’ve been using MPLAB for PIC code development and simulation, but that program isn’t available on the Macintosh. Luckily, GPUTILS is a stellar alternative that runs on Mac OS X. I ran into only a couple of issues in switching over.
More progress on my Mac development path migration: I can now control Ifos slaves from my iMac. This is the culmination of a few related successes, and means
Related, but not specifically required for basic Ifos control via Modbus/Ruby:
I knew it wouldn’t be long before the next wrinkle presented itself. There was some frustration of the “This should work now” variety, but eventually things worked out. I’ve adopted the Mac as my new development environment of choice (well, let’s call it my primary development environment; I just like it better than PCs or plain Linux so far), but I’m still trying to achieve parity on tool chains related to my various projects.
Still experimenting with the “master” portion of Ifos (the device itself being a Modbus slave), looking to replace/simplify the current communication path:
PC ⇒ USB-to-Serial (RS232) cable ⇒ my RS232-to-RS485 converter ⇒ Ifos.
The great advantage of this is unlimited flexibility; I can use just about any method to send data directly to the device, then process the response in myriad ways. Ruby has been the real workhorse here, and I rely on
irb and my tiny Modbus master for most of this communication and control.