Jump to content

baudrate to_com


dj ciuens
 Share

Recommended Posts

Hello. I am trying to change the baudrate of my pic to connect the serial port, but unfortunately I am not getting success. I made a change by the id_change to file maim.asm

(This is the original)

#define MIOS_TO_COM_FLAG 0 ; IMPORTANT: never alternate this flag if you don't

; own a to-COM interface, otherwise you won't be

; able to reset this flag w/o a PIC programmer

(And this was the change I made)

#define MIOS_TO_COM_FLAG 1 ; IMPORTANT: never alternate this flag if you don't

; own a to-COM interface, otherwise you won't be

; able to reset this flag w/o a PIC programmer

After making the change, re compiling the file by MPBLAB to a file. Hex and did the upload the pic using MIOS. I right? Or should have done by uploading pic burner?

Link to comment
Share on other sites

It should work. After the change_id application has been uploaded successfully via MIDI (you should see the appr. response messages in MIOS Studio), the core should reset, thereafter the MIDI Out should only send garbage (mostly pitch bender events) due to the wrong baudrate.

The LCD will print the new ID - it should be 0000000000000100

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...