Programming Schmartboard

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Hello every one!!!

   

 Have any of you tried to program a Schmartboard whit CY8C3866LTI-030?

   

I need to test a prototype and I do not want to use the CY8CKIT-030 and have decide to buy a Schmartboard.

   

I cannot figure out how to download the bootloader project  in such a  board using the Miniprog3 kit.

   

The application note PSoC® 3 and PSoC 5LP I2C Bootloader  ( AN 60317) explain how to download a bootloadable project using Miniprog 3. It assume that you have a bootloader project already downloaded into the Psoc device, in this case, the CY8C3866LTI-030 on Scmarboard.

   


In summary, may be someone can explain me how to download a Bootloader project in the Scmarboard sponsored By Cypress.

   

The readme file provided for Scmarborads, explaning how to program the board is not very explanatory for me.

   

I have attached the Readme file.

   

I will appreciate  a lot your help.

   

Thank you very much.

   

 

0 Likes
15 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You probably want to overwrite the already programmed bootloader on your schmartboard with your own bootloader. Am I right?

   

So you first have to create a BootLoader progect. Connecting your miniprog3 to the board and using Creator will work to program that bootloader.

   

Your BootLoadable project MUST  refer to your Bootloder (in "Dependencies" dialog) to get the correct entry-points. Use at first try simple projects that is able to indicate successful bootloader running and bootloadable running. The bootloadable is transfered to your schmartboard with the Cypress program "Bootloader Host".

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Some bootloader references -

   

 

   

    

   

          

   

http://www.cypress.com/?rID=50230     AN68272 UART BL     PSOC 3, 4, 5LP

   

http://www.cypress.com/?rID=41002     AN60317 I2C BL         PSOC 3, 5LP

   

http://www.cypress.com/?rID=57561     AN73503 USB HID BL with GUI Host     PSOC 3, 5LP

   

http://www.cypress.com/?rID=56014     PSoC® 3, PSoC 4, and PSoC 5LP Introduction To Bootloaders

   

http://www.cypress.com/?rID=83293     AN86526 - PSoC® 4  I2C Bootloader

   

http://www.cypress.com/?rID=50230     AN68272 - PSoC® 3, PSoC 4 and PSoC 5LP UART Bootloader

   

 

   

Regards, Dana.

0 Likes
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Thank you Bob !!!!  and Dana too !

   

Bob your explanation  made me join all information from the App. Notes suggested by Dana.

   

I am starting from the scratch, in oder words I have purchased the Scmarboard 710-0008-01 unpopulated .

   

As far as I known any chip, in this case CY8C3866LTI-030 doesn't came wiht a bootloader project already programmed.

   

I have purchased  CY8C3866LTI-030 chip separately.

   

I have soldered the chip on the Shcmartboard.

   

Then, it raise  the following question: How I need to  interpret your explanation about program the bootloader project for first time?

   

As alway you explanation is awesome !!!!

   

Best regards.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

In Creator either use example BL project or design your own, build and compile it,

   

and program via Miniprog3. Note the BL is for field updates, as well as people who

   

do not have a Miniprog3. The advantage of the latter, unlike BL, is that you can debug

   

your project as well, which you cannot easily do with a BL approach. The latter can be

   

done with effort by, for example, using a UART and PC and pass  your own generated

   

debug info to the PC for display. But thats very tedious and leaves behind the Creator

   

debugger GUI that is very efficient and capable.

   

 

   

Regards, Dana.

0 Likes
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Hi Dana thank you  for your answer.

   

I have a new question.

   

Suppose I decide to develop my own PCB  and get my prototype already assembled with let say the CY8C3866AXI-040 chip.

   

Suppose too that my code work Ok on a DVK.

   

At that point , how am I supposed  to program the first time  the on board's CY83866AXI-040 without use a production programer?

   

I am refering to the  first tests before production with that PCB, to test it.

   

Thank you again and I'll be waiting for you explanation, I do not master the English languaje and may be I am missing something about your last explanation.

   

 

   

Best regads,

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Take a look at this -

   

 

   

www.cypress.com/

   

 

   

and this based on use of FX2 parts -

   

 

   

    

   

          

   

http://dangerousprototypes.com/2011/10/30/psoc3-custom-board/

   

 

   

 

   

Regards, Dana.

0 Likes
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Thank you very much Dana !

   

 

   

Regards

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

One more possibility / clues -

   

 

   

    

   

          http://www.cypress.com/?app=forum&id=4749&rID=94793

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

When you have got a MiniProg3 then the easiest way to program any PSoC-pcb is to access the ISSP pins on a connector suitable for plugging-on the Miniprog. This does allow for programming but not for debugging. Three signals are needed üöus power, one of them is xres, the other two are usually connected to SDA and SCL of I2C and can be used after programming as wanted.

   

 

   

Bob.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Miniprog3 does support debugging for SWD and JTAG.

   

 

   

    

   

         

   

http://www.cypress.com/?rID=38154

   

 http://www.cypress.com/?rID=44327

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Yes, Dana is right. With Miniprog3 you may debug your PSoC 3, 4 and 5 targets.

   

 

   

Bob

0 Likes
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Bob and Dana Thank you a lot for your valuable help

   

Best regards,

0 Likes
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Hi Dana !!!

   

May be you can give me some aditional explanation about yor post that I will repeat here:

   

 

   

     

   

            

   

"In Creator either use example BL project or design your own, build and compile it,

   

and program via Miniprog3. Note the BL is for field updates, as well as people who

   

do not have a Miniprog3. The advantage of the latter, unlike BL, is that you can debug

   

your project as well, which you cannot easily do with a BL approach. The latter can be

   

done with effort by, for example, using a UART and PC and pass  your own generated

   

debug info to the PC for display. But thats very tedious and leaves behind the Creator

   

debugger GUI that is very efficient and capable."

   

So, if I understood well, I can use  either  BL project example to progam the device with miniprog 3 and afterward program the bootlodable project as Bob explain me in previous replay?

   

I am in the stage of testing a prototype using the Scmarboard (not in DVK  because on it work OK ), and I can not spent time in modification of the HSSP  to  Psoc3 Host > Psoc3 traget device.

   

Thank you very much

   

Regards,

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Yes, a boot loader will load a bootloadable project w/o a Miniprog3,

   

over UART or I2C or SPI, there is a myriad of ways it can be done.

   

 

   

The advantage of Miniprog3, is if you are on JTAG or SWD you can program and

   

debug. If on ISSP just program.

   

 

   

BL on the other hand is for field upgrades typically. Where end user does not own a

   

Miniprog3 but you have an update for him.

   

 

   

Regards, Dana.

0 Likes
AlVa_264671
Level 5
Level 5
25 sign-ins First like given First like received

Dana ,Thanks a lot  !!!!

   

Best regards,

0 Likes