Iphone Compiler?

MurrayJ

Senior Member
Just wondering if the Iphone/Ipod Touch compiler is still being worked on. It was advertised as "under development" in June 08 and not a word since. I am just wondering if it has been shelved or not.
 

Andrew Cowan

Senior Member
I've had a quick search and there don't seem to have been any updates. Hippy-Technical - what's the latest? Sounds like a great feature I would pay for!

A
 

Dippy

Moderator
How much would you pay?

Perhaps if you invited a survey it would be good info to see if the man-hours were justified?
 

Technical

Technical Support
Staff member
This project is on hold at present.

One of the main issues is apples licensing on adapter/connectors - they only licence 'single application cables' and there is also not much serial port support in the APIs. They also do not seem to allow universal adapters like this,

http://farm3.static.flickr.com/2276/2343424862_fa417dc566.jpg

which then makes licensing and manufacturing a specialist cable very expensive. Developing a specialist PICAXE cable would probably not be worthwhile....
 

Andrew Cowan

Senior Member
Good idea Boriz - however, Apple might not allow software where 'no cable exists'. They would see it as pointless/encouraging hacking.

A
 

papaof2

Senior Member
Or perhaps we see it as Apple being greedy: "if you don't spend $$$ to get our blessing, you can't do (whatever your project is)"

John
 

Haku

Senior Member
Writing code on an iPhone? I thought Apple rejected any sort of programming language apps for the iPhone, as recently hilighted in the C64 games emulator being accepted and then removed because it had BASIC hidden inside it.

Or would they allow it because the programs written would only work on an external device?
 

KandH

Member
Just out of curiosity - I came across this thread after searching the forums after seeing a directive listed in the examples section of the Picaxe manual:

#com /dev/tty.iap (iPhone/iPod Touch AXE026 serial)

Was this added to the manual pre-empting the possiblity of an iPhone compiler or is there some way to utilise this?

Many Thanks,
Morrolan
 

Technical

Technical Support
Staff member
This project is 'on hold' until Apple allow programming languages within their iPhone apps - they currently ban all programming language Apps.
 

KandH

Member
Fair enough - thanks for the prompt reply!

I kinda suspected that it was still on hold after reading this thread but I just had to check that it definately wasn't available.

Many thanks!
 

KandH

Member
I use TEAMVIEWER, it is free.

Regards

pilko
Many thanks for that, I will certainly give that a try as I've not yet come across a decent system for accessing both macs and windows machines remotely.

However, I was more interested in plugging a serial cable into my iphone for remote development when I'm on the train - you can imagine the look of horror on the old grannies face sat opposite if I had a breadboard plugged into my iPhone! :D
 

hippy

Technical Support
Staff member
Is TEAMVIEWER an application for running Windows ( or other ) Apps 'natively' on the iPhone / iPad or is it just an RDP/VNC/X-Windows-type client for viewing and controlling what's on a remote PC's screen ?
 

KandH

Member
You can use the I Phone/I Touch for remote development via TEAMVIEWER, it is 2-way.

pilko

Yes I can, however what I would ideally like is a native iPhone app so I can develop whilst travelling without the need for a laptop - I would also want to carry a small box of bits and a breadboard with me so that I have a small portable devkit - however this is what Technical advised is "on hold" so I can use TeamViewer to develop remotely but that doesn't allow me to modify my circuit on the move.

Many Thanks,
Morrolan
 

pilko

Senior Member
TEAMVIEWER is available as both I Phone app and Windows app. I can write code on my I Touch and load it to the PICAXE. I also monitor my Heat Pump on it via sertxd.
hippy --it is for viewing and controlling what's on a remote PC.
pilko
 
Last edited:

manuka

Senior Member
TEAMVIEWER is powerful,easy to use & free for private use. Everyone loves it! There's now also a Linux version.
Thanks for the heads up on it's iPhone use,which I for one had not previously considered. Stan.
 
Last edited:

boriz

Senior Member
“...imagine the look of horror on the old grannies face sat opposite if I had a breadboard plugged into my iPhone!”

This is a rare expression. It’s only obtainable when ‘norms’ regard geeks in their natural habitat. Usually the opportunity does not present itself, but occasionally, rarely, the geek finds himself so engrossed that even when they cart him off to the funny farm, he does not notice. However, eventually, he gets hungry and finds the food is beyond the locked door...
 

pugmartin

New Member
Hi there,

Can anyone tell me what steps I need to take to enable PICAXE programming via TEAMVIEWER on the iPhone?

I run TEAMVIEWER... then what?

I have searched all day and found nothing to help, and would greatly appreciate a small guide in the right direction as this sounds incredibly useful.

Many thanks,
Martin
 

fritz42_male

Senior Member
A compiler for a Jailbroken iphone would certainly interest me. Also I have a ZT-180 ePad so an Android compiler would be of interest too.
 

Minifig666

Senior Member
Even better, to save all the hassle a DSOnano style device with a screen and keyboard!
A PDA with serial will be the best way to do it though. Is the windows CE one finished?
 

fritz42_male

Senior Member
If we want something from Santa then my ideal would be a 7" Screen Android DSO Nano Quad with 4 scope inputs and a built in serial port with Picaxe Compiler and Simulator built into the OS.
 

chris bate

New Member
technical /or hippy ,

personally i would steer clear of the iphone for stuff like this until apple pull their dictatorship heads out of the silica sand

the obvious advantage with the iphone/ipod is the nice big touch screen ... but really when it boils down to it thats about it

however a j2me based compiler even a crude one which can be run on most other phones Nokias Blackberries and samsungs to mention a couple, would require at worst a custom 2.5 or 3.5mm jack for the user to make up and lets face it it's not a difficult thing to do,we are after al electronics hobbyists,

what you do is use the headphone jack which is normally for listening to mp3s or handsfree and a simple serial interface the data transfer speed isn't great but for a few kbytes worth of data back and forth it's not to bad,

I only bring this up because i have seen it done in a similar project for talking to dataloggers, the company that implemented it went through the exact same thing you guys have and got jack of it with apple,
 
Last edited:

Minifig666

Senior Member
Don't forget the 98Hr battery life, built in pop out solar pannels panels, free 3G internet access, 1THz Max frequency at 100TS/s, 1MV voltage limit, oh, and a knitting machine! Anything else?
 

pugmartin

New Member
Hi hippy,

Thanks for the welcome, seems like a great forum for information.

I would simply like to know how I send information to and from the chip from the iPhone running the TEAMVIEWER software.

I can run TEAMVIEWER to connect to my PC, though I dont know how to connect iPhone to chip?
Is it via headphone jack?
What do I need to do within TEAMVIEWER to talk to the chip?

Any help would be very much appreciated.

Many thanks,
Martin
 

Technical

Technical Support
Staff member
I can run TEAMVIEWER to connect to my PC, though I dont know how to connect iPhone to chip?
You can't, team viewer is the other way around - control the PC from the iPhone.

You could use it to control a PICAXE connected via a cable to the computer.
You cannot use it in any way with a PICAXE connected to the iPhone/iPad.
 

pugmartin

New Member
You can't, team viewer is the other way around - control the PC from the iPhone.

You could use it to control a PICAXE connected via a cable to the computer.
You cannot use it in any way with a PICAXE connected to the iPhone/iPad.
Ah right. Thats a shame. Sorry, looking at pilkos posts I was under the impression that it may have been possible.

Has development started again now though? What with the availability of BASIC apps etc on the iPhone now? Even the C64 Emulator App is now allowed to incorporate BASIC?

Many thanks,
Martin
 

Andrew Cowan

Senior Member
Just for the record, I'm an android fan. The strict apple requirements seem much more relaxed for andoid devices - are there any plans there?

Andrew
 

hippy

Technical Support
Staff member
Re-writing the compilers and IDE and getting them to work for a new architecture could be a mammoth task and especially if that involves unsupported 'hackery' to make something functional or useful.

As with all business choices any decision will rest, amongst other things, on where effort and resources can be best be utilised and the returns on such investments. I'm personally not aware of any imminent plans to rewrite the compilers and the IDE in Java but there could be in the future. The best that can probably be said is that, as always, Rev-Ed keeps its eyes on technology and determines its direction in the light of opportunities which present themselves.
 

dsvilko

Senior Member
What about writing a simple j2me client that is able to read a plain text file from a memory card (so we can use any native editor we like), upload it to a server that does the actual compile, download the result and send it via bluetooth to a bluetooth UART module connected to a Picaxe. I have just received two such modules from ebay ($20 for both so it's really not that expensive) and while I haven't tried to actually program the Picaxe wirelessly I think it should work.
So, we would have a wireless Picaxe programming 'on the road' with a minimal j2me application. It would require a internet access but most have it these days (specially for just a few KB worth of transfer). I'm no expert but it certainly seems doable.
 

MartinM57

Moderator
..compile, download the result and send it via bluetooth to a bluetooth UART module connected to a Picaxe. I have just received two such modules from ebay ($20 for both so it's really not that expensive) and while I haven't tried to actually program the Picaxe wirelessly I think it should work
In the words of my supposed Management Consultant colleagues at work "There be dragons!". Which is an appalling phrase and whoever uses it should be shot on sight.

Suffice to say that wireless PICAXE programming has been long discussed on this forum and never achieved. Ec will be along soon to tell us when and where ;)

(...and yes, that's a thinly veiled challenge for someone to put some real effort and resources into trying to achieve it :D)
 

Dippy

Moderator
hippy and I discussed this years ago and came to the conclusion that the Rx would have to emulate the loader routine.
For some PICAXEs you may need to provide a reset signal to improve chances of download.

As it is an asynchronous download you can't just shove serial at it and guarantee a good load.

Rev-Ed don't seem forthcoming with the download protocol.
Martin with his big butch scope may be able to suss it out.
I doubt it's anything mega-sophisticated , and once you have the handshaking sorted then you should be able to pop it on.

I'm sure Rev-Ed have seen this subject a hundred times - it's a pity the protocol isn't published. After all, it's only the DUMB LOADER that people want - not the tokenising. Come on Rev-Ed... spit it out ! :rolleyes:

If you knew the protocol a PIC programmer could probably write the code for a radio link buffer in a morning.
Just think; a combined RF link protocol chip and downloader link all on one chip.
That would be the best RF Christmas present I could think of.
That would have it peeing all over the BASIC Stamp.

Marting with his mega scope could probably suss the protocol for a box of chocolates.
I'd do it but I'm afraid I'm a code whore nowadays :(
 

Minifig666

Senior Member
Dippy, while it would be nice to have the protocol, it's one step closer to people replicating the system. You have to remember how much time some people have.
 

Dippy

Moderator
Some people spend hours per day on Forums, MF6.

With the right gear a person could suss this fairly quickly.
Initial interrupt signals/handshakes, followed by data handshakes and any delays. Well, that's how it appears with a 10 minute squiz with a 'scope.
I can't see much commercial benefit so I'll leave it to others who have the resources.

Anyone who hasn't actually tried should actually try it.
And, I reckon, the smarter your RF link is then the more likely there will be extra hurdles (timing / packetising delays etc.) in the way.

You never know, your device may just do it. And I genuinely hope it does.
But, as usual, if you have the info (like Rev-Ed does) then a PC-uP >>>RForWhatever>>> uP-PICAXE would make life SO much easier.
 

Minifig666

Senior Member
Skip the knitting machine but include a BBQ?
Ahhh, the stereotypes are back in place!

Dippy, there may not be any benefit for you 'cos you'd get fired. If you think about it though Rev-Ed are responsible for the manufacture or sale of almost all PICAXE products. If someone familiar with PIC programming could learn the protocol they could start making compatible products. Even worse they could make their software free under the GNU and let others make their own, potentially destroying rev-ed.

Maybe I shouldn't have given out those ideas...
 
Top