{"action":"created","issue":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/841","labels_url":"https://api.github.com/repos/mbedmicro/mbed/issues/841/labels{/name}","comments_url":"https://api.github.com/repos/mbedmicro/mbed/issues/841/comments","events_url":"https://api.github.com/repos/mbedmicro/mbed/issues/841/events","html_url":"https://github.com/mbedmicro/mbed/issues/841","id":54030945,"number":841,"title":"FRDM-K22F: When using I2C there is no console output on CDC","user":{"login":"PrzemekWirkus","id":6360720,"avatar_url":"https://avatars.githubusercontent.com/u/6360720?v=3","gravatar_id":"","url":"https://api.github.com/users/PrzemekWirkus","html_url":"https://github.com/PrzemekWirkus","followers_url":"https://api.github.com/users/PrzemekWirkus/followers","following_url":"https://api.github.com/users/PrzemekWirkus/following{/other_user}","gists_url":"https://api.github.com/users/PrzemekWirkus/gists{/gist_id}","starred_url":"https://api.github.com/users/PrzemekWirkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrzemekWirkus/subscriptions","organizations_url":"https://api.github.com/users/PrzemekWirkus/orgs","repos_url":"https://api.github.com/users/PrzemekWirkus/repos","events_url":"https://api.github.com/users/PrzemekWirkus/events{/privacy}","received_events_url":"https://api.github.com/users/PrzemekWirkus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-12T08:50:08Z","updated_at":"2015-01-28T16:31:19Z","closed_at":"2015-01-26T14:16:54Z","body":"* I've ran I2C tests with 24LC256 (EEPROM) and I notices no printouts are send via virtual serial port.\r\n* I can see when I run tests, they pass (red LED blink with \"OK\" low frequency) but no output on USB serial port.\r\n* I've checked with logical analyzer I2C, it looks OK (e.g. frequency was 400kHz and transmission was uninterrupted).\r\n```\r\nsingletest.py -i test_spec.json -M muts_all.json -P -V\r\n```\r\n```\r\nBuilding library CMSIS (K22F, ARM)\r\nBuilding library MBED (K22F, ARM)\r\nBuilding project I2C_EEPROM (K22F, ARM)\r\nCompile: main.cpp\r\nLink: i2c_eeprom\r\nElf2Bin: i2c_eeprom\r\nExecuting 'python host_test.py -d G:\\ -f \"C:\\Work\\mbed\\build\\test\\K22F\\ARM\\MBED_A19\\i2c_eeprom.bin\" -p COM93 -t 15 -C 4 -m K22F'\r\nTest::Output::Start\r\nMBED: Instrumentation: \"COM93\" and disk: \"G:\\\"\r\nHOST: Copy image onto target...\r\nHOST: Initialize serial port...\r\nHOST: Reset target...\r\nTest::Output::Finish\r\nTargetTest::K22F::ARM::MBED_A19::I2C EEPROM read/write test [TIMEOUT] in 30.95 of 15 sec\r\nBuilding project I2C_EEPROM_LINE (K22F, ARM)\r\nCompile: main.cpp\r\nLink: i2c_eeprom_line\r\nElf2Bin: i2c_eeprom_line\r\nExecuting 'python host_test.py -d G:\\ -f \"C:\\Work\\mbed\\build\\test\\K22F\\ARM\\MBED_A25\\i2c_eeprom_line.bin\" -p COM93 -t 10 -C 4 -m K22F'\r\nTest::Output::Start\r\nMBED: Instrumentation: \"COM93\" and disk: \"G:\\\"\r\nHOST: Copy image onto target...\r\nHOST: Initialize serial port...\r\nHOST: Reset target...\r\nTest::Output::Finish\r\nTargetTest::K22F::ARM::MBED_A25::I2C EEPROM line read/write test [TIMEOUT] in 20.96 of 10 sec\r\nTest summary:\r\n+---------+--------+-----------+----------+---------------------------------+--------------------+---------------+-------+\r\n| Result  | Target | Toolchain | Test ID  | Test Description                | Elapsed Time (sec) | Timeout (sec) | Loops |\r\n+---------+--------+-----------+----------+---------------------------------+--------------------+---------------+-------+\r\n| TIMEOUT | K22F   | ARM       | MBED_A19 | I2C EEPROM read/write test      |       30.95        |       15      |  0/1  |\r\n| TIMEOUT | K22F   | ARM       | MBED_A25 | I2C EEPROM line read/write test |       20.96        |       10      |  0/1  |\r\n+---------+--------+-----------+----------+---------------------------------+--------------------+---------------+-------+\r\nResult: 2 TIMEOUT\r\n\r\nCompleted in 55.51 sec\r\n```"},"comment":{"url":"https://api.github.com/repos/mbedmicro/mbed/issues/comments/71866069","html_url":"https://github.com/mbedmicro/mbed/issues/841#issuecomment-71866069","issue_url":"https://api.github.com/repos/mbedmicro/mbed/issues/841","id":71866069,"user":{"login":"PrzemekWirkus","id":6360720,"avatar_url":"https://avatars.githubusercontent.com/u/6360720?v=3","gravatar_id":"","url":"https://api.github.com/users/PrzemekWirkus","html_url":"https://github.com/PrzemekWirkus","followers_url":"https://api.github.com/users/PrzemekWirkus/followers","following_url":"https://api.github.com/users/PrzemekWirkus/following{/other_user}","gists_url":"https://api.github.com/users/PrzemekWirkus/gists{/gist_id}","starred_url":"https://api.github.com/users/PrzemekWirkus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrzemekWirkus/subscriptions","organizations_url":"https://api.github.com/users/PrzemekWirkus/orgs","repos_url":"https://api.github.com/users/PrzemekWirkus/repos","events_url":"https://api.github.com/users/PrzemekWirkus/events{/privacy}","received_events_url":"https://api.github.com/users/PrzemekWirkus/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T16:31:19Z","updated_at":"2015-01-28T16:31:19Z","body":"No free hugs\r\n\r\n```c\r\n#elif defined(TARGET_K64F)\r\nI2C i2c(PTE25, PTE24);\r\n\r\n#elif defined(TARGET_K22F)\r\nI2C i2c(PTE0, PTE1);\r\n\r\n#elif defined(TARGET_K20D50M)\r\nI2C i2c(PTB3, PTB2);\r\n```\r\n\r\nPin out is set in test for K22F."}}