| View previous topic :: View next topic |
| Author |
Message |
viki2000
Joined: 08 May 2013 Posts: 233
|
|
Posted: Thu Jun 06, 2013 5:14 am |
|
|
The official answer from Microchip that I received:
"
Hi,
I think you are using the A1 version of PIC10f320.
The engineering versions (A1) had this issue. Version A2 (production released version) does have the correct bytes of RAM.
The datasheet is not wrong. The released version of the PIC10F320 has 64bytes of RAM.
Production was released at revision A2 which has the correct memory mapping.
For more details please refer known issues listed under "MPLAB IDE current release notes" in the following link:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469
Please see the description of issue UDBC-517
Thanks,
Compiler Analysis and Assistance Team
"
and another user on Microchip forum (named tunes) received a similar answer:
Yes, Device ID Revision = 1 indicates its A1 revision. A1 revision of chip was engineering sample and not one which was taken into production.
Data sheet is incorrect for PIC10(L)F320 A1 revision, which were only released as engineering samples.
Production was released at revision A2 which has the correct memory mapping per the data sheet.
You can find this under known issues listed under "MPLAB IDE current release notes" in the following link:
http://www.microchip.com/...&dDocName=en019469
After unzipping the compressed files, you can refer to UDBC-517 in MPLAB IDE release notes where this is listed.
And here's what UDBC-517 says:
Data sheet is incorrect for PIC10(L)F320 A1 revision, which were only released as engineering samples. Production was released at revision A2 which has the correct memory mapping per the data sheet.
for your reference next topic on Microchip forum: http://www.microchip.com/forums/m727073.aspx |
|
 |
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Thu Jun 06, 2013 10:44 am |
|
|
| Quote: | The header debugger for PIC10F320 is this one:
http://www.microchipdirect.com/ProductSearch.aspx?keywords=AC244045
I bought it last week and I used it also today. Works only in MPLAB, MPLABX with program written in ASM or HITECH or XC8.
I received today ICD-U64 programmer and works inside the CCS IDE only to burn PIC10F320. You cannot debug with it.
Seems that regarding PIC10F320/322 debugging I am stuck with MPLAB and HITECH compiler using the above header debugger. |
Thanks for clarifying about debug header. I still don't know what's the point that debugging CCS code
in MPLAB shouldn't work with this processor. I used it e.g. with 12F683 debug header. |
|
 |
RF_Developer
Joined: 07 Feb 2011 Posts: 839
|
|
Posted: Fri Jun 07, 2013 6:32 am |
|
|
Note this from the release notes to the latest CCS complier, 5.006 now out of beta and in full release:
| Quote: |
Recent changes include:
5.006 Corrected incorrect RAM registers for PIC10F/LF320
|
|
|
 |
viki2000
Joined: 08 May 2013 Posts: 233
|
|
Posted: Fri Jun 07, 2013 8:10 am |
|
|
But that is a problem.
The compiler should be able to detect or to let you manually set somehow the Revision type 1 or 2 of PIC10F320.
For PIC10F320 Rev 2, the compiler is good as it was, nothing needs to be corrected.
What do you think? |
|
 |
viki2000
Joined: 08 May 2013 Posts: 233
|
|
Posted: Thu Jun 13, 2013 1:12 am |
|
|
@FvM
If you are interested how to use Debug Header for PIC10F320/PIC10F322 then check out next topic (please read to the end for clarifications):
http://www.microchip.com/forums/m728301.aspx |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 20161
|
|
Posted: Thu Jun 13, 2013 8:06 am |
|
|
| Seriously, that is the standard way to use all such headers, when they involve an extended chip. It is in the manual that comes with it. The point is that they don't actually use a 10F320, they use an extended core (with a different device ID), and the extra pins, that just happens to behave the same. So 'of course' you have to remove the chip in the board, since it doesn't actually support debugging. |
|
 |
|