MQX on DEMOJM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX on DEMOJM

1,765 Views
Cesco
Contributor I

Hi,

I have a DEMOJM board and i'm trying to use MQX on it. In the annex CD-rom i found CodeWarrior V6.1. SInce installing MQX it is not found, i thought it's too old and so i took CodeWarrior v10.0. But creating a new MQX project it is  needed to choose the kind of  board which you will use. Unluckly DEMOJM is not included in the list. How can I i work with it? And how to flash the board? Can someone explain it step by step? Thank you all.

Tags (1)
0 Kudos
Reply
6 Replies

1,169 Views
Tommy_Liu
Contributor II
Please use Codewarrior for MCU 6.3 and MQX 3.6.2 I have try. All M51JMEVB's drivers are OK for DEMOJM.
0 Kudos
Reply

1,169 Views
HipBlazeing
Contributor I

Hi! I having problems with setting IRQ in DEMOJM MCF51JM128, CW V6.3 and MQX 3.7 like this:

 

const GPIO_PIN_STRUCT pins_irq[] = {   GPIO_SYNC | GPIO_PIN_IRQ_FALLING,   GPIO_LIST_END};void fpga_sync_irq(void) {   fpga_sync++;}init function:irq_fd = fopen("gpio:input", (char *)&pins_irq);err = ioctl(irq_fd, GPIO_IOCTL_SET_IRQ_FUNCTION, (char_ptr)&fpga_sync_irq);err = ioctl(irq_fd, GPIO_IOCTL_ENABLE_IRQ, NULL);

 

 

The interrupt callback works only on rising edge... is it even possible to set callback like this in MCF51JM128 since it has only one IRQ and eight KBI interrupts?

0 Kudos
Reply

1,169 Views
Cesco
Contributor I

Unluckily my 64-bit notebook does not support cw 6.3. Thank you anyway for answering!

0 Kudos
Reply

1,169 Views
Tommy_Liu
Contributor II
BTW, you can change the SCI driver, in order that P&E virtual COM can Printf information. following picture is the code you need change.
0 Kudos
Reply

1,169 Views
admin
Specialist II

The picture showing the code changes isn't here.  Does anyone know what the changes are?

0 Kudos
Reply

1,169 Views
Tommy_Liu
Contributor II
0 Kudos
Reply