Helpful ReplyHot!what would you do with a dual core dspic?

Page: << < ..678910.. > >> Showing page 7 of 19
Author
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • 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)
0
STILL BLINKING !

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • 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)
3 (1)
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.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • 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)
3 (1)
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)

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
Antipodean
Super Member
  • Total Posts : 1700
  • 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)
3 (1)
Gort2015
What to do with the stickers. (1 sticker, you have to cut it in half)



Paper over the cracks? LoL: LoL
 
 

Do not use my alias in your message body when replying, your message will disappear ...

Alan
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • 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)
3 (1)
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.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
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)
0
Unicorn-colors? grin

GENOVA :D :D ! GODO
marcov
Super Member
  • Total Posts : 247
  • 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)
4 (1)
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 : 1700
  • 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)
3 (1)
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 : 1700
  • 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)
0
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: 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)
0
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)
0
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 : 2556
  • 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)
3 (1)
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 : 79
  • 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)
3 (1)
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) Slave
du00000001
The DACs are missing as well.



From DS70005319B
11.3 DAC Control Registers
 
post edited by NorvisLM - 2018/06/27 14:13:11
JimDrew
Super Member
  • Total Posts : 342
  • 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)
0
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 : 6714
  • 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)
4 (1)
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 : 342
  • 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)
0
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)
0
Samples available!! let's go :D
but... no SOIC nor DIL? :(
post edited by DarioG - 2018/06/28 04:47:33

GENOVA :D :D ! GODO
Gort2015
Klaatu Barada Nikto
  • Total Posts : 3118
  • 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)
4 (1)
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.
 

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
NorvisLM
Super Member
  • Total Posts : 79
  • 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)
0
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 : 5842
  • 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)
0
blinking page, missing post
Page: << < ..678910.. > >> Showing page 7 of 19
Jump to:
© 2019 APG vNext Commercial Version 4.5