What? My guess at what you are asking. The defaults are shown in the datasheet. what is the issue....? the labels on the PCB are for the MikroClick interface. You need to enable via PPS.
Yes, this device has 1k RAM. So, you an run the GLCD in low memory mode.
Could the usb part of the board be modded to program other pics in circuit or does the pic need a boot loader? What? My guess at what you are asking. Yes, you can mod the USB part, The 18f device can be used to program other chips. The 18f does not have a bootloader. The 18f is a USB handler for communications and the dandle the programming interface to the 16f. The 18f code is available if you want to hack it. The 16f18855 does not have a bootloader it is merely programmed by the 18f.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I thought take mclr,rb.6,rb.7 to another "newer" pic to program without the need for pickit3 and what I perceive as caused brain ache for the developers.
ie make it like I use my pickit2 for icsp. silly idea? serious.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Look carefully at the pinsout, get hold of another 18f, change the chip ID to your target chip ID in MPLAB-IDE source code, recompile using MPLAB-IDE, program the new 18f with your new XPress code and all should be good. Not worth it to be honest... I did this... see photo attached... best is TinyBootloader+ easier and it works!
Last edit: Anobium 2017-11-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had this brainwave. Create board with the 18f, programmable so I could drop different 16f in to be programmed.
Bill introduced me to a gentleman that would produce board to a functional specification. I gave him the specification... it was the 18f for usb and programming with an programming port for the 18f, and, all the bits that are on the XPress board but as PDIP. Yes. Expensive.
Waste of time. TinyBootloader+ is on all my 16f183xx, 16f1779s and many more. I can program in situ... faster with TinyBooloader+
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the insight. I now know it's not as simple as I first thought. It's the thought that counts and I was thinking of something nice.
For the newer supported pics the tinybootloader I might try. I see it's documented in gcb.
Hardware needed to program etc
Installing mplab and java to use pickit3 with gcb all seems complicated but I've got away just using a uno or pk2 so far. I will appreciate the work gone into getting it all working with pk3 when I want to try newer pics in more detail. Thanks again to all.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, just an update.
I'm using Debian stretch, this Distri has a somewhat older Wine Installation
I just tried Wine 2.0.3 from winehq.
And had success, PPS Tool works perfect now. inclusive Pin Layout Image
Couldn't find a ili9341 demo so connected display...eventually. The 3.3V was handy for the logic level converter array.
First prob with pps was names as in find matching name in pps. What's-DC , CS , RESET called?
I guessed the others. Little niggles for 1st time use. I just picked the pins for ease.
'Pin mappings for SPI - this GLCD driver supports Hardware SPI and Software SPI
#define GLCD_DC portb.2 ;= ' Data command line
#define GLCD_CS portb.0 ' Chip select line
#define GLCD_RESET portb.1 ' Reset line
#define GLCD_DI portb.5 ;=SDO1 ' Data in | MISO- Not used therefore not really required. BUT I AM USING
#define GLCD_DO portb.3 ;=SDA1 ' Data out | MOSI
#define GLCD_SCK portb.4 ;=SCK1 ' Clock Line
@Chris. Good stuff. Question. Of the three Xpress would this work for all three? if, not, it would be good to have the other heeders then I would lift and put in the IDE as snippets.
@All. Got some good snippoets that could be added to the IDE?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Question. Of the three Xpress would this work for all three?
No. There are four XPress boards and each has a different device.
More importantly, however, only one XPress Board has the MikroBUS port and as this Snippet is specifically for allocating peripherals to the MikroBUS it is not needed for the other 3 Boards.
Chrees
Chris
Last edit: Chris Roper 2017-11-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It may be an Idea to try it against your I2C and SPI test rigs first.
I have only used the I2C and the USART side so it is partialy untested.
But I have no objection to it being added to the IDE.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Chris. That template is useful. matches board labels.
Until I need to use the features, not programmable pins, that this pic series has, I won't use xpress board much. GCB doesn't mention other features other than PPS. 1K ram is not enough. Will it run as fast as a 18f25k22 or mega 328p? not answered and I don't understand. For me fast is important or I'd still be using picaxe.
I agree with Joe Rocci that a <£3 uno is a better dev board for beginner or general purpose gcbasic programming. NOT for learning pics cos totally different but gcb code is just change the header and the differences are hidden. That's why I like gcb, it dumbs down most things so I just concentrate on the code logic not set up control bits in registers before code begins.. The hidden defaults take care of all that..usually.
Thinking first time using gcb was a uno and plug and play. Didn't understand the avr programming tool so I used xloader to flash hex. soon sorted that.
Had I got a xpressboard the pps would have put me off using gcb.
If you can blag one from microchip cool. £12...nah
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It’s not just the cheap Arduino Uno or Nano microcontroller boards, it’s the whole ecosystem of application boards that go with them. It’s very likely one could assemble a whole production-ready product just by buying the appropriate boards and programming in GCB. Why breadboard hardware and fumble with PCB development when you can buy virtually any application board for very little money?
From: stan cartwright
Sent: Wednesday, November 29, 2017 11:06 AM
To: [gcbasic:discussion]
Subject: [gcbasic:discussion] xpress board
Chris. That template is useful. matches board labels.
Until I need to use the features, not programmable pins, that this pic series has, I won't use xpress board much. GCB doesn't mention other features other than PPS. 1K ram is not enough. Will it run as fast as a 18f25k22 or mega 328p? not answered and I don't understand. For me fast is important or I'd still be using picaxe.
I agree with Joe Rocci that a <£3 uno is a better dev board for beginner or general purpose gcbasic programming. NOT for learning pics cos totally different but gcb code is just change the header and the differences are hidden. That's why I like gcb, it dumbs down most things so I just concentrate on the code logic not set up control bits in registers before code begins.. The hidden defaults take care of all that..usually.
Thinking first time using gcb was a uno and plug and play. Didn't understand the avr programming tool so I used xloader to flash hex. soon sorted that.
Had I got a xpressboard the pps would have put me off using gcb.
If you can blag one from microchip cool. £12...nah
It's horses for courses but you got to think about which horse to ride.
Are you new to programming 8 bit ucontrlrs?
Used them before-asm-picaxe-stamp-other compiler-mplab-whatever?
Why are you using gcb?-because etc.
Do you understand electronic components?
;
I ask myself these questions. Is beer a hobby? It also gives me brain ache.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No,yes,yes. All the pic programming hardware is overwhelming for me. Now there's northern programmer. I'm going to order some tiny 328p boards. Why use a 8 pin pic and vero when tiny is so cheap?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I’d look at the Nano board for about the same price. It has a USB on it like the Uno; in fact, nearly identical to Uno in features, but smaller like the Tiny. The USB shows up as a Com port on your computer, can be used to program the board via built-in bootloader, and is very handy for sending debug messages or for remote communications with the board.
From: stan cartwright
Sent: Thursday, November 30, 2017 11:06 AM
To: [gcbasic:discussion]
Subject: [gcbasic:discussion] xpress board
No,yes,yes. All the pic programming hardware is overwhelming for me. Now there's northern programmer. I'm going to order some tiny 328p boards. Why use a 8 pin pic and vero when tiny is so cheap?
Thanks. There's a lot of them. I'm only using gcb and 28 pin pics with 2k ram expensive. pics can have most pins as adc but not avr. no prob.
Not everyone can solder and make a dev board. I need a big magnifier.
Is there a pic clone board?
What? My guess at what you are asking. The defaults are shown in the datasheet. what is the issue....? the labels on the PCB are for the MikroClick interface. You need to enable via PPS.
Yes, this device has 1k RAM. So, you an run the GLCD in low memory mode.
Could the usb part of the board be modded to program other pics in circuit or does the pic need a boot loader? What? My guess at what you are asking. Yes, you can mod the USB part, The 18f device can be used to program other chips. The 18f does not have a bootloader. The 18f is a USB handler for communications and the dandle the programming interface to the 16f. The 18f code is available if you want to hack it. The 16f18855 does not have a bootloader it is merely programmed by the 18f.
I thought take mclr,rb.6,rb.7 to another "newer" pic to program without the need for pickit3 and what I perceive as caused brain ache for the developers.
ie make it like I use my pickit2 for icsp. silly idea? serious.
Look carefully at the pinsout, get hold of another 18f, change the chip ID to your target chip ID in MPLAB-IDE source code, recompile using MPLAB-IDE, program the new 18f with your new XPress code and all should be good. Not worth it to be honest... I did this... see photo attached... best is TinyBootloader+ easier and it works!
Last edit: Anobium 2017-11-28
a footnote.
I had this brainwave. Create board with the 18f, programmable so I could drop different 16f in to be programmed.
Bill introduced me to a gentleman that would produce board to a functional specification. I gave him the specification... it was the 18f for usb and programming with an programming port for the 18f, and, all the bits that are on the XPress board but as PDIP. Yes. Expensive.
Waste of time. TinyBootloader+ is on all my 16f183xx, 16f1779s and many more. I can program in situ... faster with TinyBooloader+
Thanks for the insight. I now know it's not as simple as I first thought. It's the thought that counts and I was thinking of something nice.
For the newer supported pics the tinybootloader I might try. I see it's documented in gcb.
Hardware needed to program etc
Installing mplab and java to use pickit3 with gcb all seems complicated but I've got away just using a uno or pk2 so far. I will appreciate the work gone into getting it all working with pk3 when I want to try newer pics in more detail. Thanks again to all.
Hi, just an update.
I'm using Debian stretch, this Distri has a somewhat older Wine Installation
I just tried Wine 2.0.3 from winehq.
And had success, PPS Tool works perfect now. inclusive Pin Layout Image
Couldn't find a ili9341 demo so connected display...eventually. The 3.3V was handy for the logic level converter array.
First prob with pps was names as in find matching name in pps. What's-DC , CS , RESET called?
I guessed the others. Little niggles for 1st time use. I just picked the pins for ease.
Here is a Snippet / Template that you can use to help setup the board:
Cheers
Chris
Last edit: Chris Roper 2017-11-29
@Chris. Good stuff. Question. Of the three Xpress would this work for all three? if, not, it would be good to have the other heeders then I would lift and put in the IDE as snippets.
@All. Got some good snippoets that could be added to the IDE?
No. There are four XPress boards and each has a different device.
More importantly, however, only one XPress Board has the MikroBUS port and as this Snippet is specifically for allocating peripherals to the MikroBUS it is not needed for the other 3 Boards.
Chrees
Chris
Last edit: Chris Roper 2017-11-29
@Chris. OK. May I move this snippet to the IDE?
It may be an Idea to try it against your I2C and SPI test rigs first.
I have only used the I2C and the USART side so it is partialy untested.
But I have no objection to it being added to the IDE.
Chris. That template is useful. matches board labels.
Until I need to use the features, not programmable pins, that this pic series has, I won't use xpress board much. GCB doesn't mention other features other than PPS. 1K ram is not enough. Will it run as fast as a 18f25k22 or mega 328p? not answered and I don't understand. For me fast is important or I'd still be using picaxe.
I agree with Joe Rocci that a <£3 uno is a better dev board for beginner or general purpose gcbasic programming. NOT for learning pics cos totally different but gcb code is just change the header and the differences are hidden. That's why I like gcb, it dumbs down most things so I just concentrate on the code logic not set up control bits in registers before code begins.. The hidden defaults take care of all that..usually.
Thinking first time using gcb was a uno and plug and play. Didn't understand the avr programming tool so I used xloader to flash hex. soon sorted that.
Had I got a xpressboard the pps would have put me off using gcb.
If you can blag one from microchip cool. £12...nah
Stan and all,
It’s not just the cheap Arduino Uno or Nano microcontroller boards, it’s the whole ecosystem of application boards that go with them. It’s very likely one could assemble a whole production-ready product just by buying the appropriate boards and programming in GCB. Why breadboard hardware and fumble with PCB development when you can buy virtually any application board for very little money?
From: stan cartwright
Sent: Wednesday, November 29, 2017 11:06 AM
To: [gcbasic:discussion]
Subject: [gcbasic:discussion] xpress board
Chris. That template is useful. matches board labels.
Until I need to use the features, not programmable pins, that this pic series has, I won't use xpress board much. GCB doesn't mention other features other than PPS. 1K ram is not enough. Will it run as fast as a 18f25k22 or mega 328p? not answered and I don't understand. For me fast is important or I'd still be using picaxe.
I agree with Joe Rocci that a <£3 uno is a better dev board for beginner or general purpose gcbasic programming. NOT for learning pics cos totally different but gcb code is just change the header and the differences are hidden. That's why I like gcb, it dumbs down most things so I just concentrate on the code logic not set up control bits in registers before code begins.. The hidden defaults take care of all that..usually.
Thinking first time using gcb was a uno and plug and play. Didn't understand the avr programming tool so I used xloader to flash hex. soon sorted that.
Had I got a xpressboard the pps would have put me off using gcb.
If you can blag one from microchip cool. £12...nah
xpress board
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gcbasic/discussion/579125/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
It's horses for courses but you got to think about which horse to ride.
Are you new to programming 8 bit ucontrlrs?
Used them before-asm-picaxe-stamp-other compiler-mplab-whatever?
Why are you using gcb?-because etc.
Do you understand electronic components?
;
I ask myself these questions. Is beer a hobby? It also gives me brain ache.
Stan
Was your previous comment addressed to me? Are your questions rhetorical or expecting an answer?
No,yes,yes. All the pic programming hardware is overwhelming for me. Now there's northern programmer. I'm going to order some tiny 328p boards. Why use a 8 pin pic and vero when tiny is so cheap?
I’d look at the Nano board for about the same price. It has a USB on it like the Uno; in fact, nearly identical to Uno in features, but smaller like the Tiny. The USB shows up as a Com port on your computer, can be used to program the board via built-in bootloader, and is very handy for sending debug messages or for remote communications with the board.
From: stan cartwright
Sent: Thursday, November 30, 2017 11:06 AM
To: [gcbasic:discussion]
Subject: [gcbasic:discussion] xpress board
No,yes,yes. All the pic programming hardware is overwhelming for me. Now there's northern programmer. I'm going to order some tiny 328p boards. Why use a 8 pin pic and vero when tiny is so cheap?
xpress board
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gcbasic/discussion/579125/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Last edit: joe rocci 2017-11-30
Thanks. There's a lot of them. I'm only using gcb and 28 pin pics with 2k ram expensive. pics can have most pins as adc but not avr. no prob.
Not everyone can solder and make a dev board. I need a big magnifier.
Is there a pic clone board?