I am returning to PIC programming after a break of several years and struggling to catch up again! I have experienced a strange problem.
In years gone by, I used PPPv3 to download to my old PIC Tutor (which says "PIC TUTOR V2 1" on the back of the PCB, but seems to need to be treated as a Version 1 board). If I resurrect this software, I can happily download some of the sample HEX files and run them. So far, so good.
I have recently purchased PIC BASIC from OshonSoft, as this struck me as a very nice and easy way to get simple applications into the PIC. It comes with an emulator IDE and I can write a PIC BASIC program, compile it to a HEX file and run this quite happily in the emulator. However, if I try to download this HEX file to the real PIC, it fails to work every time. Even a really simple program, resulting in a couple of dozen bytes of code will not load and run. PIC Tutor sample HEX files will run happily in the emulator, however.
Last night, as an experiment, I tried creating a small program with the demo version of Flowcode V4 and - bingo! It downloaded fine!
I have wondered if this might be anything to do with the status words; I have checked the oscillator setting and tried various combinations of the other elements, but as I'm using this with a 16F84A (at the moment) there aren't really many options.
Can anyone please offer any suggestions as to why my HEX files from the PIC BASIC environment won't load, but these others will?
Problems downloading to PIC
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Problems downloading to PIC
Hello
It does sound like a configuration word problem though I have never used (or heard of) the OshonSoft software so I cant really say.
When loading in the HEX file from PIC BASIC into PPP you should be able to change the configuration settings so they will run with the hardware.
I would go to them for further support as the Matrix product is still working correctly when the correct configuration words are used.
It does sound like a configuration word problem though I have never used (or heard of) the OshonSoft software so I cant really say.
When loading in the HEX file from PIC BASIC into PPP you should be able to change the configuration settings so they will run with the hardware.
I would go to them for further support as the Matrix product is still working correctly when the correct configuration words are used.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 3
- Joined: Sun Aug 02, 2009 4:14 pm
-
- Posts: 3
- Joined: Sun Aug 02, 2009 4:14 pm
Re: Problems downloading to PIC
STILL waiting to hear back from Oshonsoft! Perhaps that's why you had never heard of them!
Watch this space...

Watch this space...
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Problems downloading to PIC
Hi Phil
Yes that could be it.... Let me know if they do get back in touch.
If you want a low cost PIC development environment to play with then our ECIO range of devices offer a great deal of functionality including High Pin Count, 48MHz clock, SPI, I2C, USB, UART....etc. Plus you dont have to worry about configuration settings as they are predefined for you.
Alternativly we have the new V3 Development board and the new EB006 with ICD.
Also you get support with our products
Yes that could be it.... Let me know if they do get back in touch.
If you want a low cost PIC development environment to play with then our ECIO range of devices offer a great deal of functionality including High Pin Count, 48MHz clock, SPI, I2C, USB, UART....etc. Plus you dont have to worry about configuration settings as they are predefined for you.
Alternativly we have the new V3 Development board and the new EB006 with ICD.
Also you get support with our products

Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel