Hi
We have MCIMX28EVK board and a board with imx28 (designed by us).
We are using freescale L2.6.35_1.1.0_130130_source.
Our board uses AUART0 pins for debug uart.
I have seen the debug uart pins are defined in mx28evk_pins.c( /arch/arm/mach-mx28 )
static struct pin_desc mx28evk_fixed_pins[] = {
{
.name = "DUART.RX",
.id = PINID_PWM0,
.fun = PIN_FUN3,
},
{
.name = "DUART.TX",
.id = PINID_PWM1,
.fun = PIN_FUN3,
},
...
...
...
}
I am using AUART0_CTS and AUART_RTS as DUART_RX and DUART_TX.
So I have edited the struct like the following
static struct pin_desc mx28evk_fixed_pins[] = {
{
.name = "DUART.RX",
.id = PINID_AUART0_CTS,
.fun = PIN_FUN3,
},
{
.name = "DUART.TX",
.id = PINID_AUART0_RTS,
.fun = PIN_FUN3,
},
...
...
...
}
Is this change enough for the imx board?
Regards
Pt
解決済! 解決策の投稿を見る。
Hi Pt
yes, this is enough. Also please check that these
pins are not used for other purposes. And one can wish
to set AUART0 as debug UART for iROM, check sect.12.3.1 OTP eFuse
i.MX28 RM
HW_OCOTP_ROM0:0x8002C1A0:1:0
USE_ALT_DEBUG_UART_PINS[1:0] =01 - AUART0
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pt
yes, this is enough. Also please check that these
pins are not used for other purposes. And one can wish
to set AUART0 as debug UART for iROM, check sect.12.3.1 OTP eFuse
i.MX28 RM
HW_OCOTP_ROM0:0x8002C1A0:1:0
USE_ALT_DEBUG_UART_PINS[1:0] =01 - AUART0
Best regards
chip
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pt
you can add some codes (or try to check with jtag)
registers value .
Best regards
chip
Ok igorpadykov. I will try this on my board and will come back to you if I need any help.
Thank you
Pt