Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 17:53 14 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Open source MM programmer and USB/UART

     Page 2 of 2    
Author Message
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1139
Posted: 10:30am 28 Sep 2016
Copy link to clipboard 
Print this post

OR

See this thread for how to program a PIC16F1455 with a Micromite


 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1139
Posted: 10:53am 28 Sep 2016
Copy link to clipboard 
Print this post

@David

maybe this can help.

Regards
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2294
Posted: 07:21pm 30 Sep 2016
Copy link to clipboard 
Print this post

if your windows 7 does not find the correct drivers itself, you may need to provide them. the drivers are available from microchip's website as "MCP2221 Windows Driver" here:
http://ww1.microchip.com/downloads/en/DeviceDoc/MCP2221%20Windows%20Driver%202014-10-09.zip

the fact that you are seeing a "USB Composite Device" is a good sign.

as an alternative to the rather large microchip download, the two small files required (not drivers as such, but just description and signature files) are contained in the below zip file:

2016-10-01_050211_mchpcdc_2014-10-09.zip

unpack the two files, right-click on the file called mchpcdc.inf and select "Install". this should set things up so that windows can then install the device correctly. when things are working right, you should see (under XP at least) something like this:




cheers,
rob :-)
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2294
Posted: 03:46am 08 Feb 2017
Copy link to clipboard 
Print this post

peter mather has kindly made a further update to the 1455 ascii ICSP code to fix a couple of small bugs identified when testing with grogster's Explore-28 board. the following zip file contains three updated files:

v118 w.loader4.bas
an mmbasic program containing the updated 1455 application. load this onto a micromite that is attached to a PIC16F1455 running an earlier version of the application, and type "update" at the console. follow the onscreen instructions to update to version 1.18

v118 + dS30.hex
if burning a blank PIC16F1455, use this to burn the application and ds30 serial bootloader using a pickit3 and mplab (or other ICSP programmer). the ds30 bootloader is there to allow later updates to be installed using loader4.bas (as per above)

v118.hex
bare application, no bootloader included. if this is burnt to a PIC16F1455 you will need to use a pickit3 again if you later want to upgrade the application. this is not a recommended choice.

2017-02-08_134027_1455_v1.18_inc_ds30.zip

the bugs fixed in this version are:
- remove weak pullups on PGC and PGD pins unless in programming mode
- disable break (alt-B in teraterm) while in programming mode

below is a zip file containing the updated version 1.18 main.c:
2017-02-08_134345_v118_main.c.zip


cheers,
rob :-)Edited by robert.rozee 2017-02-09
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 07:50am 08 Feb 2017
Copy link to clipboard 
Print this post

Hi,
  Quote  There is a difference in that the 1455 serial -> pic line seems to default to low at least until comms establish, whereas other chips ('2221a, etc) set it high as a default.


Is that still the case ? I sent pm to matherp about it but haven't heard anything
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8601
Posted: 12:27pm 08 Feb 2017
Copy link to clipboard 
Print this post

The uart lines are set as inputs (high-Z) until communications are established. I don't intend to change this as it is the safest possible option. Pull them up if you need them different

ANSELA=0; //all pins digital
ANSELC=0;
TRISA=0xFF; //all pins start as inputs
TRISC=0xFF;
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024