Gort2015
Klaatu Barada Nikto
- Total Posts : 4014
- Reward points : 0
- Joined: 2015/04/30 10:49:57
- Location: 0
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/25 10:26:08
(permalink)
|
Gort2015
Klaatu Barada Nikto
- Total Posts : 4014
- Reward points : 0
- Joined: 2015/04/30 10:49:57
- Location: 0
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/25 10:30:34
(permalink)
Actually there are not 180 registers to play with since you can only have one stack per core. 180 - (4 x 2) = 172 registers. There are some supplement documents on the page for this chip. Still no programmer's guide for the instruction set. I have worked them out. The new bitfield instructions are common to ARM processors.
|
Gort2015
Klaatu Barada Nikto
- Total Posts : 4014
- Reward points : 0
- Joined: 2015/04/30 10:49:57
- Location: 0
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/26 04:14:46
(permalink)
My pickit 4 has arrived, chips coming from another warehouse. Dissapointed like everyone else with the micro usb socket, not that I will be unplugging it. What to do with the stickers. (1 sticker, you have to cut it in half)
|
Antipodean
Super Member
- Total Posts : 2019
- Reward points : 0
- Joined: 2008/12/09 10:19:08
- Location: Didcot, United Kingdom
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/26 04:32:29
(permalink)
Gort2015 What to do with the stickers. (1 sticker, you have to cut it in half)
Paper over the cracks? LoL:
Do not use my alias in your message body when replying, your message will disappear ... Alan
|
Gort2015
Klaatu Barada Nikto
- Total Posts : 4014
- Reward points : 0
- Joined: 2015/04/30 10:49:57
- Location: 0
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 04:03:43
(permalink)
Chips have just turned up, they are things of beauty. Packaging was good and taped up. They came in an anti-static envelope. The chips are inside a plastic black box. Just need to wait for my qfp to dil boards before I can use them.
|
DarioG
Allmächtig.
- Total Posts : 54081
- Reward points : 0
- Joined: 2006/02/25 08:58:22
- Location: Oesterreich
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 04:30:56
(permalink)
Unicorn-colors?
|
marcov
Super Member
- Total Posts : 292
- Reward points : 0
- Joined: 2006/10/08 01:59:40
- Location: Eindhoven, NL.
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 05:22:35
(permalink)
I ordered a PIM for my explorer16/32. Do I really need a pickit 4 (will a pickit 3 do?) Any tips on starting a program? Preferably in disharmony, but I assume the peripheral libs won't be updated.
|
Antipodean
Super Member
- Total Posts : 2019
- Reward points : 0
- Joined: 2008/12/09 10:19:08
- Location: Didcot, United Kingdom
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 06:23:18
(permalink)
marcov I ordered a PIM for my explorer16/32. Do I really need a pickit 4 (will a pickit 3 do?) Any tips on starting a program? Preferably in disharmony, but I assume the peripheral libs won't be updated.
I would have thought the PKOB that is already on the board would do. After all that is what the Curiosity board has.
Do not use my alias in your message body when replying, your message will disappear ... Alan
|
Antipodean
Super Member
- Total Posts : 2019
- Reward points : 0
- Joined: 2008/12/09 10:19:08
- Location: Didcot, United Kingdom
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 07:46:19
(permalink)
Gort2015 Chips have just turned up, they are things of beauty. Packaging was good and taped up. They came in an anti-static envelope. The chips are inside a plastic black box. Just need to wait for my qfp to dil boards before I can use them.
Oooh err missus, mine have arrived in the UK as well. Now to find some project time to use them .. wink:
Do not use my alias in your message body when replying, your message will disappear ... Alan
|
Isaac_Sewell
Senior Member
- Total Posts : 160
- Reward points : 0
- Joined: 2003/11/25 06:26:50
- Location: Sheffield, England
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 12:18:16
(permalink)
For some reason I can’t load page 14, so forgive me if this has already been said. I was under the impression that pk4 and icd4 don’t support these chips yet, but that may be out of date. I am certain that icd3 is supported. I have spent a happy day drawing the 508 chip up, and have found that I can’t find some key info out. Nothing in the datasheet about the A/D or the PGA. Fortunately the 805 is supported by MCC so I guess I can reverse engineer that code.
|
Isaac_Sewell
Senior Member
- Total Posts : 160
- Reward points : 0
- Joined: 2003/11/25 06:26:50
- Location: Sheffield, England
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 12:18:56
(permalink)
For some reason I can’t load page 14, so forgive me if this has already been said. I was under the impression that pk4 and icd4 don’t support these chips yet, but that may be out of date. I am certain that icd3 is supported. I have spent a happy day drawing the 508 chip up, and have found that I can’t find some key info out. Nothing in the datasheet about the A/D or the PGA. Fortunately the 805 is supported by MCC so I guess I can reverse engineer that code.
|
du00000001
Just Some Member
- Total Posts : 4118
- Reward points : 0
- Joined: 2016/05/03 13:52:42
- Location: Germany
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 13:24:43
(permalink)
Funny thing (the DS is already Rev B), but you're right. The DACs are missing as well. Not even references to some FRM are given (exempt a PGA reference). MCC and/or the header files might or might not help. (Fortunately I currently have the time to wait...)
PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
|
NorvisLM
Super Member
- Total Posts : 80
- Reward points : 0
- Joined: 2015/10/06 07:32:11
- Location: 0
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 14:11:54
(permalink)
Isaac_Sewell Nothing in the datasheet about the A/D or the PGA.
From DS70005319B 3.9 High-Speed, 12-Bit Analog-to-Digital Converter (Master ADC)4.8 Programmable Gain Amplifier (PGA) Slavedu00000001 The DACs are missing as well.
From DS70005319B11.3 DAC Control Registers
post edited by NorvisLM - 2018/06/27 14:13:11
|
JimDrew
Super Member
- Total Posts : 344
- Reward points : 0
- Joined: 2003/11/07 12:37:26
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/27 22:48:44
(permalink)
I have several coming to solve a design issue with a emulation core I have been tinkering with. Gort, where did you see that the slave core is stored in volatile ram? There are a few new instructions shown in the datasheet to, so it would be nice to have an updated FRM with the additions. Digikey has inventory of all of the 50x series... the 20x series won't be available until Jan 19, 2019 according to my Microchip purchasing account.
post edited by JimDrew - 2018/06/27 22:58:04
|
MBedder
Circuit breaker
- Total Posts : 6970
- Reward points : 0
- Joined: 2008/05/30 11:24:01
- Location: Zelenograd, Russia
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/28 00:47:14
(permalink)
DS page 21:The Master core will execute the code from Program Flash Memory (PFM) and the Slave core will operate from Program RAM Memory (PRAM).
|
JimDrew
Super Member
- Total Posts : 344
- Reward points : 0
- Joined: 2003/11/07 12:37:26
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/28 01:39:19
(permalink)
Thanks, I missed that! I guess this answers the question about why the slave core executes certain instructions faster than the master core, since they are fetched from RAM instead of program memory. Does EDS work with the slave core? Is there a penalty (still) for using EDS with the master core? I also wonder if it is possible to modify the PRAM on the fly (self-modifying code)? It will be interesting to see what these things can do. The errata doesn't look terribly bad for a first run.
post edited by JimDrew - 2018/06/28 01:41:14
|
DarioG
Allmächtig.
- Total Posts : 54081
- Reward points : 0
- Joined: 2006/02/25 08:58:22
- Location: Oesterreich
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/28 04:31:51
(permalink)
Samples available!! let's go :D but... no SOIC nor DIL? :(
post edited by DarioG - 2018/06/28 04:47:33
|
Gort2015
Klaatu Barada Nikto
- Total Posts : 4014
- Reward points : 0
- Joined: 2015/04/30 10:49:57
- Location: 0
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/28 05:15:36
(permalink)
You can program the slave on the fly from the master but self modifying code is poor programming style. I have done it in the past but once you start modifying code it does not resemble the original code. It would also be possible to have an sd-card with loads of separate programs that the master could read and write to the slave.
|
NorvisLM
Super Member
- Total Posts : 80
- Reward points : 0
- Joined: 2015/10/06 07:32:11
- Location: 0
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/28 06:57:50
(permalink)
While I am somewhat across the Master to Slave Image Loading (MSIL) using the LDSLV instruction, I am uncertain as to the mechanism by which the Slave Image gets loaded into the Master Flash within MPLAB X. I assume I'll have two projects loaded within MPLAB X, one for the Master and another for the Slave. Simultaneously debugging both MASTER and SLAVE within the IDE is clear as it requires two ICD/PICKIT 3's or in the case of the Curiosity Board, the PKOB and one ICD/PICKIT 3, but how does MPLAB X accomplish locating the Slave image within the Master Flash during ICSP?
|
Jim Nickerson
User 452
- Total Posts : 6911
- Reward points : 0
- Joined: 2003/11/07 12:35:10
- Location: San Diego, CA
- Status: offline
Re: what would you do with a dual core dspic?
2018/06/28 07:00:20
(permalink)
blinking page, missing post
|