CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 11 matches
CCS Forum Index
Author Message
  Topic: write_program_memory PIC10F322
amarquez

Replies: 31
Views: 57245

PostForum: General CCS C Discussion   Posted: Wed Aug 22, 2012 4:31 am   Subject: write_program_memory PIC10F322
The problem is in LWLO bit of the PMCON1 register. Clear the LWLO bit before unlock sequence.

void write_program_word(int16 addr, int16 data)
{
GIE = 0;
PMADRL = addr; ...
  Topic: write_program_memory PIC10F322
amarquez

Replies: 31
Views: 57245

PostForum: General CCS C Discussion   Posted: Thu Aug 09, 2012 1:06 am   Subject: write_program_memory PIC10F322
Routine does not work "write_program_word(int16 addr, int16 data)"
Can anyone help me?
  Topic: write_program_memory PIC10F322
amarquez

Replies: 31
Views: 57245

PostForum: General CCS C Discussion   Posted: Thu Aug 02, 2012 5:09 am   Subject: write_program_memory PIC10F322
I appreciate the effort. I'm not playing.
I understand that the PIC10F322 is new and may have errors of routines, I need to work with it.

CFGS PMCON registry is bit 6? ('# bit CFGS = PMCON1.7')
Y ...
  Topic: write_program_memory PIC10F322
amarquez

Replies: 31
Views: 57245

PostForum: General CCS C Discussion   Posted: Wed Aug 01, 2012 4:46 am   Subject: write_program_memory PIC10F322
The problem is not the delays.
I'm trying to assembler.
  Topic: write_program_memory PIC10F322
amarquez

Replies: 31
Views: 57245

PostForum: General CCS C Discussion   Posted: Tue Jul 31, 2012 1:14 am   Subject: write_program_memory PIC10F322
I have introduced a delay before writing to the flash, and locks in the execution of writing.
  Topic: write_program_memory PIC10F322
amarquez

Replies: 31
Views: 57245

PostForum: General CCS C Discussion   Posted: Tue Jul 31, 2012 12:18 am   Subject: write_program_memory PIC10F322
I tested it on different areas of free memory in the execution of the function 'write_program_memory( address, dataptr, count )', the pic10F322 not work.
Could be a bad implementation of the function ...
  Topic: write_program_memory PIC10F322
amarquez

Replies: 31
Views: 57245

PostForum: General CCS C Discussion   Posted: Mon Jul 30, 2012 5:37 am   Subject: write_program_memory PIC10F322
I've been testing the code and I can not write to program memory. Continuing with the same problem.
  Topic: write_program_memory PIC10F322
amarquez

Replies: 31
Views: 57245

PostForum: General CCS C Discussion   Posted: Mon Jul 30, 2012 4:27 am   Subject: write_program_memory PIC10F322
Hello everyone!
I need to save two bytes, I am using the functions read / write_program_memory (), since, the PIC10F322 has no eeprom.
I can not write to program memory
Can anyone help me?

#inc ...
  Topic: Malfunctions in PIC10F322
amarquez

Replies: 7
Views: 11854

PostForum: General CCS C Discussion   Posted: Fri Jul 20, 2012 2:32 am   Subject: Malfunctions in PIC10F322
Thanks for your help,
I checked the PWM. I've tried in the PIC10F32x, and have it working.

I can not change the timer2 frequency to operate between 300Hz and 600Hz.

Could you tell me how to ope ...
  Topic: Malfunctions in PIC10F322
amarquez

Replies: 7
Views: 11854

PostForum: General CCS C Discussion   Posted: Thu Jul 19, 2012 6:59 am   Subject: Malfunctions in PIC10F322
The hardware PWM is not implemented for the PIC10F322.
I'm trying to generate PWM with timer2, I checked out PIN_A1, and no answer.


#include <10F322.h>
#device adc=8

#FUSES NOWDT ...
  Topic: Malfunctions in PIC10F322
amarquez

Replies: 7
Views: 11854

PostForum: General CCS C Discussion   Posted: Thu Jul 19, 2012 2:18 am   Subject: Malfunctions in PIC10F322
Hello everyone!

I am using the PIC10F322, and compiler version is 4.135.

I have to generate a PWM, but has not implemented the hardware driver for PWM. So, I tried to generate PWM with timer, ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group