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 10 matches
CCS Forum Index
Author Message
  Topic: AT25M02 SPI EEPROM Driver
valkyrie.wing

Replies: 10
Views: 25697

PostForum: General CCS C Discussion   Posted: Sat Mar 03, 2018 2:23 am   Subject: AT25M02 SPI EEPROM Driver
The project was continued by my colleague and I do not know her progress while I was transferred to another project.
  Topic: AT25M02 SPI EEPROM Driver
valkyrie.wing

Replies: 10
Views: 25697

PostForum: General CCS C Discussion   Posted: Wed Oct 25, 2017 5:16 pm   Subject: AT25M02 SPI EEPROM Driver
Hi Ttelmah,

Already tested the code and it works perfectly. Thank you for that clever suggestions.
  Topic: AT25M02 SPI EEPROM Driver
valkyrie.wing

Replies: 10
Views: 25697

PostForum: General CCS C Discussion   Posted: Sun Oct 22, 2017 1:15 am   Subject: AT25M02 SPI EEPROM Driver
Hi Ttelmah,

I noticed the #use spi() has MODE=3 set. Why is so? Although AT25M02 supports both mode 0 and 3.

Now on using spi_xfer, I noticed you use the code snippet as:

Result = spi_xfer ...
  Topic: AT25M02 SPI EEPROM Driver
valkyrie.wing

Replies: 10
Views: 25697

PostForum: General CCS C Discussion   Posted: Sat Oct 21, 2017 9:25 pm   Subject: AT25M02 SPI EEPROM Driver
Hi Ttelmah,

I ended up writing a HW-based implementation driver for AT25M02. Although I am not quite sure if I done it correctly. I just read the MSSP chapter of PIC18F8722 and the AT25M02 datashee ...
  Topic: AT25M02 SPI EEPROM Driver
valkyrie.wing

Replies: 10
Views: 25697

PostForum: General CCS C Discussion   Posted: Fri Oct 20, 2017 8:25 pm   Subject: AT25M02 SPI EEPROM Driver
Hi Ttelmah,

I checked the sample source code of 25640 and yes they are similar to AT25M02 though the implementation is I think software SPI.

I will try this one although my final implementation ...
  Topic: AT25M02 SPI EEPROM Driver
valkyrie.wing

Replies: 10
Views: 25697

PostForum: General CCS C Discussion   Posted: Fri Oct 20, 2017 12:14 am   Subject: AT25M02 SPI EEPROM Driver
I am planning to create a driver for this device. What is the nearest SPI drivers included in CCS C compiler to start the development?

I saw from the included drivers folder, the device 9356SPI.
...
  Topic: PIC18F8722 Bootloader at End of Program Memory
valkyrie.wing

Replies: 7
Views: 16460

PostForum: General CCS C Discussion   Posted: Sat Oct 14, 2017 10:40 pm   Subject: PIC18F8722 Bootloader at End of Program Memory
Hi Ttelmah,

You are right, I need to have #int method defined in order for the #build preprocessor to work. Here's the final code of the application firmware.


#include <18F8722.h>
#devi ...
  Topic: PIC18F8722 Bootloader at End of Program Memory
valkyrie.wing

Replies: 7
Views: 16460

PostForum: General CCS C Discussion   Posted: Sat Oct 14, 2017 5:23 am   Subject: PIC18F8722 Bootloader at End of Program Memory
Hi Ttelmah,

I created a simple application firmware that will align with what was discussed. Below is the application code and the bootloader header.

bootloader.h

#if !defined(__BOOTLOADE ...
  Topic: PIC18F8722 Bootloader at End of Program Memory
valkyrie.wing

Replies: 7
Views: 16460

PostForum: General CCS C Discussion   Posted: Fri Oct 13, 2017 7:54 pm   Subject: PIC18F8722 Bootloader at End of Program Memory
Hi Ttelmah,

I checked the PIC18F8722 datasheet and I can't find Table 25-5 and my guess is you are referring to Figure 25-5 for code protected program memory organization.

Now, back to your sugg ...
  Topic: PIC18F8722 Bootloader at End of Program Memory
valkyrie.wing

Replies: 7
Views: 16460

PostForum: General CCS C Discussion   Posted: Thu Oct 12, 2017 6:07 pm   Subject: PIC18F8722 Bootloader at End of Program Memory
Good day.

I am writing a bootloader firmware using a PIC18F8722 and I prefer the bootloader firmware be located at the end of the program memory space. Below is my suggested memory organization.
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group